I have searched for the products like this localhost/api/rest/products

But it is directly redirecting to Homepage of localhost. I have generated all the keys and tokens and i tried this also:


2 Answers 2



Did you activate the REST Api in .htaccess?

  1. change Options +FollowSymLinks to Options +FollowSymLinks -MultiViews
  2. uncomment RewriteRule ^api api.php?type=rest [QSA,L]
  • If Adrians or my answer solved your problem, please mark it as solution. Aug 4, 2015 at 5:59
  • Actually I dont know ..How to do that sir Aug 4, 2015 at 6:03
  • Welcome to MageOverflow Sudhir! :-) Aug 4, 2015 at 6:08
  • I've tried this but still it will redirect to the homepage. Is there anything else? Jan 23, 2019 at 16:36

The path is localhost/api/rest/products.

  • Much of the documentation doesn't mention this. Thanks!! Jan 23, 2019 at 16:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.