method : post
I wrote some APIs according to the sample, but the html source is returned.
Why is that?
I don't know the information even if I go into that link.
Aibek is here from Speedimize.io
Maybe this can help you:
You have received a response from shopify that you are not authorized to make API requests.
If you send post requests from the browser, then try to open any request to the Shopify API in a new tab, and you will open a window for authorization. After completing the login, the session will be saved in the cookies of your browser, and you will then be able to make requests to the API.
If you are trying to make requests from outside (not from the browser), then you need to get an access token. For more information on how to get it, you can see the link:
Hope that helps you.
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024