GET request works in browser, but not in POSTMAN or SOAPUI

I have the following endpoint: http://millennium.iwise.com.br:6017/api/millenium_eco/Tabelas_preco.lista

If I try to open through the browser, it asks for my credentials, and then it works fine - as shown in the figure below.

user: OData p>

password: 0d @t @ 123

enter image description here

If I send the same GET request using POSTMAN or SOAPUI, I get 401 Unauthorized.

enter image description here

What am I missing here? Thank you in advance.

UPDATE:

I took a browser header request and used the same in POSTMAN and I still get 401 Unauthorized. Is it likely that the endpoint server is configured to reject all requests except the browser?

enter image description here enter image description here

+5
source share
1 answer

I got the same thing, requests running in the browser but not using the postman.

Since the mail carrier synchronizes all devices, it stores a lot of cache information that I consider. I clicked on my profile in the application and left all devices. Then I launched the application, did not log in, I clicked the β€œcontinue without signing” button, which is a link located closer to the bottom of the login page. Then I was able to fulfill requests through the postman.

Then I signed a contract and everything was in order through the postman.

Note. I always had the SSL certificate verification Off in the request setup.

0
source

Source: https://habr.com/ru/post/1245655/


All Articles