Jump to content

Prestashop webservice resource are unauthorised 401


Recommended Posts

Hi team,

I've installed a module, which creates a web service and respective resources (enabled methods accordingly). 

When I hit any endpoint (resources) I got a 401 unauthorized error on the postman. 

Everything is on Webservice on the back-end, the web service key is valid, resources are enabled.

Can anyone please, help to understand, how I can authorize my web service resource and what I can do.

Thanks in advance.

Link to comment
Share on other sites

Thanks @Zohaib-fk :)
I'm following the same approach, thing is that what I check these from the POSTMAN I got the 401 authorized error. 

Q: How I can check "Check that URL rewriting is available on this server"?
Q: Check that the five methods GET, POST, PUT, DELETE and HEAD is supported by this server?

Q: Is it required to clear the cache, every time a new web service key is being registered? 
Q: Is there any process, how I can clear the Cache automatically?

The main issue is right now, whenever I'm not able to access my resource.

Please help!!

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...