websterl3o liked this thread
My solution was to use method call
as follows:
$response = $this->call(
'GET',
'api/user/logout',
[],
[
'key' => Illuminate\Support\Facades\Crypt::encryptString('abc123'),
'uid' => Illuminate\Support\Facades\Crypt::encryptString($user->id)
]
);
It served my case and I didn't have to remove the cookie middleware.
websterl3o liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community