How to make a Content-Type: application/json GET request

  • I'm struggling to make a Content-Type: application/JSON GET request, but every time I put Content-Type: application/JSON, it changes to application/x-www-form-urlencoded and the site accepts only that Content-Type.

  • Admin

    Hi, have you tried writing the header directly in the custom headers field instead? Maybe that works.
    Anyways, GET requests should not have any content, hence why no Content-Type is sent upon a GET request. If the remote server requires that header on a GET request it's poorly configured and should be fixed.

Log in to reply