You are getting a web page back; if you click the Preview tab in the result window, you will see the rendered page.
It appears you are not actually hitting the endpoint you expected; did you define that Route in api.php, or in web.php?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am new in Laravel API.
Route::group([
'prefix' => 'data',
], function () {
Route::get('stripeKeyStore', 'UserSettingController@stripeKeyStore');
});
This is my api.php route.
public function stripeKeyStore()
{
return "GET WORKING";
//response()->json([$request->all()]);
}
This is the Function.
Now I am trying to Access this using Postman. But giving this Result!!!
https://ibb.co/1KLGsH6 Image of PostMan
Please or to participate in this conversation.