cancel
Showing results for 
Search instead for 
Did you mean: 

Call Magento 1.9.2.4 api

Call Magento 1.9.2.4 api

I am using magento 1.9.2.4, was trying to get auth token like this, but not getting anything. I have tried so many times, gone through documentation but no luck help me?

$ curl -X POST  "http://<domain.com>/rest/V1/integration/admin/token" -H "Content-Type: application/json" -d '{"username":"<name>","password": "<password>"}' 
$ 

8 REPLIES 8

Re: Call Magento 1.9.2.4 api

Hello @aloknanone8804 

Try to follow this article

https://www.eglobeits.com/blog/how-to-access-magento-rest-and-oauth-settings-for-rest-api/

If that doesn't help, let me know

Was my answer helpful? You can accept it as a solution.
150+ professional extensions for M1 & M2 with free lifetime updates!

Re: Call Magento 1.9.2.4 api

Thanks @Gaurav_Jain02 

I followed all the steps and used this url to send request


https://<domain.com>/oauth/initiate?oauth_callback=https://google.com

but i am  getting this in response 

oauth_problem=parameter_absent&oauth_parameters_absent=oauth_consumer_key

400 Bad Request

What am i doing wrong ?

Re: Call Magento 1.9.2.4 api

Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward to a solution. website

Re: Call Magento 1.9.2.4 api

My custom Rest API get collection of newsletter subscriber is not working. Below is my module- Custom_Restapi. Custom/Restapi/etc/config.Kroger feedback

Re: Call Magento 1.9.2.4 api

@Gaurav_Jain02 

Can help me, any way to resolve this?

Re: Call Magento 1.9.2.4 api

im also using the same. Thanks kroger feedback

Re: Call Magento 1.9.2.4 api

This is helpful thanks for giving link.

 

Paycheckrecords

 

Re: Call Magento 1.9.2.4 api

Thankq for sharing.keep post such informative post