InsideDarkWeb.com

How to create and use REST API for mobile app?

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?

Magento Asked by Gowri Shankar on September 23, 2020

1 Answers

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

Same email different customer

0  Asked on February 21, 2021 by aivdev

   

Cron job is running but not updating Inventory

0  Asked on February 20, 2021 by anonymous-record

       

Sending variable to a bootstrap modal

1  Asked on February 19, 2021 by jayreis

         

No varnish headers

2  Asked on February 17, 2021 by maciej

     

Magento 2 : create view table via setup script

2  Asked on February 15, 2021 by dominic-xigen

   

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.