magentoRestAPI in next-sdk
Hi, I would like to ask about
next-sdk-magento
or nuxt-sdk-magento
. We have all these available queries of GraphQL (picture) which we can consume in our application with the below code (as an example):
The question is if there is a default proper way to consume magentoRestAPIs. More specifically how could I have a POST request on this url {{magento_base_url}}/rest/V1/custom/an-api-i-made
#🙋|general-help #next #sdk
2 Replies