Exam4Training

How do you identify which REST endpoints are supported by the module?

A merchant gives you the module MyCompany_MyModule to install.

How do you identify which REST endpoints are supported by the module?
A . REST endpoints are declared in etc/webapi_rest/di.xml
B . Every public method of every interface in the Api folder automatically is exposed as a REST endpoint
C . REST endpoints are declared in etc/rest.xml
D . REST endpoints are declared in etc/webapi.xml

Answer: D

Explanation:

https://devdocs.magento.com/guides/v2.4/get-started/gs-web-api-request.html

Exit mobile version