4 months ago

Internal Api Requests

Posted 4 months ago by gathuku

hello, am consuming an internal API within the same laravel application.

Here is how am sending the request

    $request = Request::create('/api/v1/login', 'POST',[

    $response = Route::dispatch($request);

form_params are working well Someone help how i can pass headers with authorization bearer token.

Please sign in or create an account to participate in this conversation.