- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2018
05:46 AM
02-27-2018
05:46 AM
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:
- Your Api url - http://test.com/index.php/rest/all/V1/categories
- Your Api Method - Get
- Your Headers should be - Authorization Bearer youradminaccesstoken
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018
05:09 AM
07-17-2018
05:09 AM
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
- « Previous
-
- 1
- 2
- Next »