magentomagento-1.7magento-rest-api

REST resources are not available in magento


For using magento rest api I have done the following things.

In windows

none of them worked. What can I do now? Any kind of help is appreciated. I have followed all the magento guidelies for REST.

In Ubuntu

Not Found

The requested URL /magento/api/rest/products/ was not found on this server.

there are products in both of my magento installations.


Solution

  • It seems your rewriting is broken. I assume you are running Apache HTTPd, so please check .htaccess in the root of Magento installation and make sure your rewriting works. You can do it by uncommenting the corresponding lines. Please add logging to rewrite engine using RewriteLog and RewriteLogLevel directives.