We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
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.
Aucun commentaire:
Enregistrer un commentaire