Forum Discussion

stellam's avatar
stellam
Occasional Contributor
2 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.

 

 

 

 

 

3 Replies

  • KarelHusa's avatar
    KarelHusa
    Champion Level 3

    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 3

      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.