Gerhardpet
asked on
Magento REST API
I’m following these steps here for testing the Magento REST API http://www.magentocommerce.com/api/rest/testing_rest_resources.html
The REST API is working for the GET Product for Guests http://temp.pramier.com/api/rest/products
To make use of the API for anything else I need to use the OAuth
I have the OAuth Consumer setup for this URL http://temp.pramier.com
Now when I use the FireFox REST Client as per the link above I enter the consumer key and consumer secret.
POST http://temp.pramier.com/oauth/initiate
This is the responce I get:
Status Code: 400 Bad Request
“oauth_problem=parameter_a bsent&oaut h;_paramet ers_absent =oauth_cal lback”
My question is: What should the Callback URL be in Magento? I have tried it various ways and can’t get it to work to get the tokens. I've search all over and there seem to be no clear documentation on this.
This is what I have tried among other ways for the callback URL and it does not work: http://temp.pramier.com/index.php/oauth/authorize
Can someone help me?
The REST API is working for the GET Product for Guests http://temp.pramier.com/api/rest/products
To make use of the API for anything else I need to use the OAuth
I have the OAuth Consumer setup for this URL http://temp.pramier.com
Now when I use the FireFox REST Client as per the link above I enter the consumer key and consumer secret.
POST http://temp.pramier.com/oauth/initiate
This is the responce I get:
Status Code: 400 Bad Request
“oauth_problem=parameter_a
My question is: What should the Callback URL be in Magento? I have tried it various ways and can’t get it to work to get the tokens. I've search all over and there seem to be no clear documentation on this.
This is what I have tried among other ways for the callback URL and it does not work: http://temp.pramier.com/index.php/oauth/authorize
Can someone help me?
ASKER
The php script is one way of testing it but in my case I'm using the FireFox REST API client.
This seems to point to something but no one has responded
https://code.google.com/p/oauth/issues/detail?id=200
This seems to point to something but no one has responded
https://code.google.com/p/oauth/issues/detail?id=200
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I never got this to work and nothing helped was posted here to help with this
Presumably this script is provided to you somehow?
Open in new window