What is the correct JSON content type?

Explanation

The correct JSON content type can be seen below.

So if want JSON text we have :

application/json

So the default encoding we have is UTF. And the MIME media type for JSON text we have is application/json.

For JSONP (runnable JavaScript) with callback we have :

application/javascript
Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *