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 :

Answered by rafal-kos on September 23, 2020

Add your own answers!

Related Questions

Create custom Attributes in Customer Form in magento 1.9

1  Asked on February 6, 2021 by maiitsyuj


Magento2 Language Character Problem

0  Asked on February 5, 2021 by stifboy


Magento Add Cart To Header

2  Asked on February 5, 2021 by ks6814


How can I hide the store switcher

4  Asked on February 4, 2021 by nria


Magento 2 – Cant use product factory in plugin

1  Asked on February 3, 2021 by black


How to create custom link for category?

3  Asked on January 30, 2021 by r_solanki


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP