How do I get the bearer token that I passed from Postman in a Laravel 5 controller? I am executing the following code:
$request = request();
$token = $request->bearerToken();
echo $token;
Nothing is printed.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3k4zC8h
via IFTTT
Aucun commentaire:
Enregistrer un commentaire