I am getting the following error when trying to make api calls using a bearer token:
Invalid format for Authorization header
My command that i am making through postman looks like:
curl --location --request GET ‘https://api.cloudflare.com/client/v4/zones/’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer xxx’ \
Note I have removed the actual token but I am passing through a valid one.
Any ideas?