I’m trying to send an Authorization bearer token. It has been a couple of months since I used Postman but this was all working last time I tried it. I use an API (from the Postman history) call that previously worked but now the Authorization header isn’t being sent (I’m using PHP on the server). I can send other headers just fine but not an Authorization header. Did something change or am I just being stupid (not mutually exclusive)?
I found the answer. My hosting provider “upgraded” my PHP version so I needed to add the following to .htaccess:
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
Once I added that everything works as expected.