shopify app development - can't get JSON data API orders

Shopify Partner
1 0 0

Hello, I'm developing a Shopify application using PHP and React. During development, while using a Cloudflare URL, my endpoints for products and orders are functioning correctly, returning data in JSON format. However, after deploying the application on an AWS instance and switching to my own domain, the same endpoints start returning data in plain text format instead of JSON. Has anyone encountered this issue before? What might be causing the change in data format when the domain is switched, and how can I resolve it to ensure the data is returned in JSON format on my own domain?

Thank you for your help!

Replies 0 (0)