cancel
Showing results for 
Search instead for 
Did you mean: 

Magento ver. 1.9.3.6 - oauth

Magento ver. 1.9.3.6 - oauth

 Hi all, 

I've installed magento ver. 1.9.3.6 on Ubuntu 16.04.3 LTS (Apache2, php 5.6.32).

I'm able to get SOAP api data using http://magento.local/api.php?wsdl=1

However, my need is to make REST api work locally as my customer uses it on prod. 

 

POST http://magento.local/api.php?type=rest&products/oauth/initiate (with passed key and secret) returns 401 Unauthorized (oauth_problem=parameter_absent&oauth_parameters_absent=oauth_token). 

I suppose, I'm using wrong path for the first step of oauth.

What is correct path for oauth/initiate ? 
Url http://magento.local/oauth/initiate returns 404 not found error.

Please advise.

1 REPLY

Re: Magento ver. 1.9.3.6 - oauth

Hi @marchello,

 

Maybe this doc could help: http://devdocs.magento.com/guides/m1x/api/rest/introduction.html

You'll find examples too to connect and consume resources.

 

Also, you'll find here information to create the credentials: http://inchoo.net/magento/configure-magento-rest-and-oauth-settings/

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"