Laravel 11 internal API call is not worked #52751
Unanswered
sweta-sensussoft
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I call internal api but it is not worked i tested api call in postmen then it is return result with parameter and value but when i call api internal in controller then it is not worked below is code and scrrenshot please give me solution if possible:
=============Route ==========
Route::get('/test', [RegisterController::class, 'test']);
Route::post('/testdemo', [RegisterController::class, 'testdemo']);
Controller code:
public function testdemo(Request $request)
{
\Log::info('Request Data:', ['data' => $request->all()]);
Beta Was this translation helpful? Give feedback.
All reactions