Hi, I am trying to fetch all products from my Magento store through an app built in PHP. I have successfully authenticated from my app and get oauth_token and secret. Now I am going to fetch products via this - http://magentohost/api/rest/products endpoint but getting 404 error. I have checked with other endpoint and they are giving me a 404 error. Anyone can help me out to solve this.
@Rahul Gupta Thank you for your response. I have already used this but getting same error 404. I am using Mozilla REST client and getting this. See below
@tarun_abc please share the link of any image as these can be visible only once approved by moderators.
Thanks
Hello @tarun_abc
Did you check this thread for the issue you are facing?
apache2.con File (/etc/apache2/apache2.conf).
To enable rewrites it is necessary to add the option 'AllowOverride All'
<Directory /var/www/html/magento/>
Options Indexes FollowSymLinks AllowOverride All Require all granted</Directory>
Be careful with the directory path in the Tag 'Directory'. The path must match the location of your Magento installation on the file system. After changing the configuration restart the apache server
See this image
https://apps.webilly.com/images/Screenshot.png
I am getting this page every time I requested for product list.
@theMageComp I have tried with your solution but still getting same 404 error.