API stands for Application Programming Interface to allow you access the data from an application. API can be called as a middleman between a programmer and an application. When the programmer calls for a request via the middleman, if the request is approved, the right data will be turned back.
Follow the below steps to create APIs
Web API configuration
In webapi.xml we are configuring access rights and API Interface that specified method will use.
File : app/code/PHPCodez/First/etc/webapi.xml Continue reading Magento 2 Create API