You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API giving 401 even if we pass Authorization header

Accepted answer
82
Views
2
Comments

Summary:


Content (required):

We are calling a 3rd party API. And below are the setup for the service connection,

Authentication : None (Why ? Because this API has a custom Authorization scheme where we need to get token using a different URL and encrypt using crypto-js library. We are able to generate that token. No issues)

Connection Type : Always Use Proxy (Why ? Because it does not support CORS and hence want to use VB Proxy)

We have set a Custom Header called Authorization and send the token at run time. We can see that the token is sent in the request as

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!