Jump to content

 

abinop

Member Since 01 Apr 2007
Offline Last Active Jul 17 2019 09:19 AM
-----

#317395 Update Product Via Rest Api

Posted by abinop on 04 July 2019 - 06:09 AM

The problem was that Apache did not support PUT and DELETE. As soon as we enabled them everything worked as expected.




#317274 Update Product Via Rest Api

Posted by abinop on 02 July 2019 - 07:03 AM

Hello,

 

I try to update a product via REST API using the url http://example.com/api/products/:id as mentioned here .

 

I am using the PUT method but I am getting

 

405 Method Not Allowed

The requested method PUT is not allowed for the URL /api/stores/1/products/27

 

I am trying from Postman, and creating or getting products works fine. What could go wrong?