How is the "Authorization" header sent in OB API? (PHP)

  • I am server side using PHP trying to get header header
    $ auth = $ _SERVER ['HTTP_AUTHORIZATION']; As a result, I get emptiness. In the Open Bullet itself, I put a link to this page and API KEY
    I tried even so $ headers = apache_response_headers ();
    $ key = $ headers ['Authorization'];

  • Admin

    Sniff the request from OB using fiddler and see for yourself.

  • Yes, I see, I'm inattentive and confused. I needed to take headers from the request, not from the response. Eh stupidity

Log in to reply