AnswerBun.com

How to create and use REST API for mobile app?

Magento Asked by Gowri Shankar on September 23, 2020

Am totally new to the magento and API’s. I have gone through the Magento Rest Api Documentation.

I have created roles and users for rest api but in the documentation it is like http://magentohost/api/rest/. I have changed my domain in the place of magentohost and given but it is showing like:

Request does not match any route

Whether any code have to add to the link? How to do this.

Can anyone give me the clear idea?

One Answer

URL api/rest is only endpoint. To get specific data you have to add action URL.

For example to fetch customers you have to call :

HTTP GET mydomain/api/rest/customers

Example here : http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html

Answered by rafal-kos on September 23, 2020

Add your own answers!

Related Questions

Extra product tab options in Magento2

1  Asked on December 30, 2021

 

I have problem with my domain on EC2

2  Asked on December 28, 2021 by ajay-patel

   

Extend Header (logo, search box and cart) in Magento 2

3  Asked on December 28, 2021 by bojjaiah

     

How to bring live site on localhost

2  Asked on December 28, 2021

 

Product details tabs messed with other tabs in Magento 2

0  Asked on December 28, 2021 by selvapandian-subramani

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP