All posts tagged: web api in magento 2

How To Create API Request In Magento 2?

No comments

A. Create API Request There are 4 simple steps to create an API request: Step 1: Declare API Create webapi.xml under the etc root module folder: /magento/module-customer/etc/webapi.xml <route url=”/V1/customers” method=”POST”> <service class=”Magento\Customer\Api\AccountManagementInterface” method=”createAccount”/> <resources> <resource ref=”anonymous”/> </resources> </route> Let us walk you through the above code to make sure you understand what’s happening: Route – This is

April LeeHow To Create API Request In Magento 2?
read more