“The official MIME type for JSON text is “
application/json“. Although most modern implementations have adopted the official MIME type, many applications continue to provide legacy support for other MIME types. Many service providers, browsers, servers, web applications, libraries, frameworks, and APIs use, expect, or recognize the (unofficial) MIME type “
text/json” or the content-type “
after tearing your hair out why not just use JSON-P – works everywhere instantly.