We are trying to fetch orders from shopify. So we are calling admin API we are getting success status but we are getting Html responses. But we are expecting a JSON response. How can I get JSON response?
Could you please provide an example HTML response that you're receiving? Without knowing anything else, I would also recommend clearing all cookies from the application that you are using to make the API request.