Postman 401 Unauthorized using Ocelot

Viewed 709

I am implementing an Ocelot gateway. When I make the API call using my browser to http://localhost:5009/api/values, I get a valid json response back. However when I make the same request through Postman I get a 401 Unauthorized response. Any ideas if there is a setting in Postman I need to change or something else.

1 Answers

That is, the client must authenticate itself to get the requested response. Most likely you have forgotten to put your token to the Header in Postman to be authenticated for the server in order to get a response.

Related