How can i create the base url for magento.

I have this error when i hit the url to get the order can some help me to find out the solution. I am using oauth authentication

  "message": "Request does not match any route.",
  "trace": null

url : http://sca.followthetiger.com/api/rest/order and pass the consumer key and all in header.

  • You can create Rest API module by following this tutorial. inchoo Also, apply this command after creating the module: php bin/magento setup:upgrade Hope this help. – Gaurav Rajput May 21 '17 at 11:01
  • This doesnt answer the question asked. – John Mar 26 '19 at 12:47

You are using the wrong URL. Instead of


you should use



Using my localhost site url with https:// instead of http:// did the magic for me:

So: https://magento2.local/rest/V1/integration/customer/token/ Passing as body :

{"username":"user@email.com", "password":"customerpassword"}


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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