Forum Discussion

stellam's avatar
stellam
Occasional Contributor
3 years ago

Basic Authorization

Hello ReadyApi gurus,

Can someone assist me with my question regarding authentication using global preference. I'm struggling to follow the instructions but, to no avail.

I have attached a ss below to show my results.

 

 

 

 

 

  • KarelHusa's avatar
    KarelHusa
    Champion Level 1

    stellam,

    If you set  "Authenticate pre-emptively", the authorization header will be sent everytime.

     

    You can check in the raw tab if the Authorization HTTP header is sent.

     

  • stellam's avatar
    stellam
    Occasional Contributor

    Hello KarelHusa,

    Thanks for your response! I have done exactly as you stated.

    You are my Hero today!

    Kind regards

    Stella

    • KarelHusa's avatar
      KarelHusa
      Champion Level 1

      Stella,

      you should be able to see the Authorization header in the request (Raw tab) now.

      And since you are getting HTTP status 400 instead of 401, it seems the authentication issue is resolved.