I have a simple command to execute on my postman with the "raw-text" to get information from an API so that the continuation I use it with the CURL function on php except that the command displays me error
“{"message":"'fef229d3bebeedf618cfe2eea6b3233158e65cb349dc200586af334898c792f60c2f12ce07174fed2d07a68b87cd6c7912b5a480a367facc482bd66872c595bfd1a917beedb210315a94fe172a9581354cdea3cf12bcc6c49c80f756f3da4e310a7f242efb9566e5af276d341d4eca48d4d8f93c1f27bc4ee2a056e940125ea7' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer fef229d3bebeedf618cfe2eea6b3233158e65cb349dc200586af334898c792f60c2f12ce07174fed2d07a68b87cd6c7912b5a480a367facc482bd66872c595bfd1a917beedb210315a94fe172a9581354cdea3cf12bcc6c49c80f756f3da4e310a7f242efb9566e5af276d341d4eca48d4d8f93c1f27bc4ee2a056e940125ea7'.”}"
So I don't know exactly where the problem comes from I show you the command:
curl 'https://api.example.com/x/t' \
-H "Authorization: Bearer <PARTNER_ACCESS_TOKEN>" \
-L
I can see the -H that suits CURLOPT_HTTPHEADER but the -L I don't know what function is it? if someone could help me?
Problem to solve :
I tryed the command with another API Soft "Insomnia" and my command work so i dont know why with POSTMAN the request get status "403 Forbidden"