HTTP/1.1 401 Unauthorized error while trying to consume API
Question

I am trying to consume a rest but encountered this error. Trying to do a get request, I have passed all the required headers that were in postman (token ,content-type, cookie, etc.) also the request body but still no go.  Can someone help me with this? Thank you



Unauthorized error in api means there is issue with authorization on API. Either you are not passing token value properly or there is some other authorization mechanism for which you need to pass the values.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.