cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging custom REST APIs

Re: Debugging custom REST APIs

Do you have add store code to urls settings is enabled from admin ? please confirm ?

 

Also i am able to get root category using the below url.

 

Try below Steps:

Note : Make sure you pass all keyword in Url and it will works

 

Refer this link - https://magento.stackexchange.com/questions/180591/magento-2-rest-api-returns-only-default-category-...

if issue solved,Click Kudos & Accept as Solution

Re: Debugging custom REST APIs

Please check for your routename and then method name
if both are correct then please pass the parameters also in url
for example in your case, pass parameter like orderId (if you have more then pass all ) http://localhost/magento2/rest/V1/order/myorder/orderId

 

In my case, I missed passing parameters in url