Jump to content
thirty bees forum

Webservice call resulting in a 401


Recommended Posts

I am trying to connect a webservice to domain/api and get a 401 error. 

Using Insomnia, I see this reply:

< HTTP/2 401 
< server: nginx
< date: Tue, 09 Apr 2024 12:53:23 GMT
< content-type: text/html; charset=utf-8
< www-authenticate: Basic realm="Welcome to PrestaShop Webservice, please enter the authentication key as the login. No password required."

Does anybody have an idea would the problem could be?

When I try connecting via the browser https://www.domain.com/api?Authorization=KEY I get the pop up asking for username and password. I enter they key as username and no password and the pop up keeps asking.

Link to comment
Share on other sites

Thanks. ws_key works in the browser but the third party still isn't working. I'll trouble their support some more and if that doesn't work I'll submit a ticket with you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...