I am trying to build APIS in laravel 5.6, and for api authentication i am using laravel basic API token authentication. Everything works fine but the problem i m having is that. For get request or post request i need to pass api_token
in the query parameter .Is there anyway where i can pass the api_token
in the header instead of url string.
I followed Laravel - Send api_token within the header this thread but no help.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire