Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

structural changes to make the content-type prominent, especially in dark mode
Source Link
Roshana Pitigala
  • 8.9k
  • 9
  • 53
  • 87

For JSON text:

application/json

application/json

The MIME media type for JSON text is application/jsonapplication/json. The default encoding is UTF-8. (Source: RFC 4627 ).(Source: RFC 4627 )

For JSONP (runnable JavaScript) with callback:

application/javascript

application/javascript

Here are some blog posts that were mentioned in the relevant comments:

For JSON text:

application/json

The MIME media type for JSON text is application/json. The default encoding is UTF-8. (Source: RFC 4627 ).

For JSONP (runnable JavaScript) with callback:

application/javascript

Here are some blog posts that were mentioned in the relevant comments:

For JSON text:

application/json

The MIME media type for JSON text is application/json. The default encoding is UTF-8. (Source: RFC 4627 )

For JSONP (runnable JavaScript) with callback:

application/javascript

Here are some blog posts that were mentioned in the relevant comments:

For JSON text:

application/json

The MIME media type for JSON text is application/json. The default encoding is UTF-8. (Source: RFC 4627).

For JSONP (runnable javascriptJavaScript) with callback:

application/javascript

application/javascript

Here are some blog posts that were mentioned in the relevant comments.:

For JSON text:

application/json

The MIME media type for JSON text is application/json. The default encoding is UTF-8. (Source: RFC 4627).

For JSONP (runnable javascript) with callback:

application/javascript

Here are some blog posts that were mentioned in the relevant comments.

For JSON text:

application/json

The MIME media type for JSON text is application/json. The default encoding is UTF-8. (Source: RFC 4627).

For JSONP (runnable JavaScript) with callback:

application/javascript

Here are some blog posts that were mentioned in the relevant comments:

minor language improvement
Source Link
Abhishek Bhagate
  • 5.8k
  • 3
  • 18
  • 33

For JSON text:

application/json

The MIME media type for JSON text is application/json. The default encoding is UTF-8. (Source: RFC 4627).

For JSONP (runnable javascript) with callback:

application/javascript

Here are some blog posts that were mentioned in the comments that are relevant comments.

For JSON text:

application/json

The MIME media type for JSON text is application/json. The default encoding is UTF-8. (Source: RFC 4627).

For JSONP (runnable javascript) with callback:

application/javascript

Here are some blog posts that were mentioned in the comments that are relevant.

For JSON text:

application/json

The MIME media type for JSON text is application/json. The default encoding is UTF-8. (Source: RFC 4627).

For JSONP (runnable javascript) with callback:

application/javascript

Here are some blog posts that were mentioned in the relevant comments.

Loading
added link to the official mime type list at IANA from @gnrfan's answer below
Source Link
Loading
Marked dead link
Source Link
Chris Cudmore
  • 30.2k
  • 12
  • 60
  • 96
Loading
try to make it clearer that it's application/json by using similar formatting to the JSONP block.
Source Link
rogerdpack
  • 67.8k
  • 40
  • 291
  • 410
Loading
Rollback to Revision 9
Source Link
Håken Lid
  • 23.2k
  • 10
  • 58
  • 73
Loading
deleted 14 characters in body
Source Link
null
  • 12k
  • 3
  • 60
  • 74
Loading
changed the highlight to make the initial text look less like a restatement of the question
Source Link
Gray
  • 117.2k
  • 24
  • 305
  • 360
Loading
Added some context, etc.
Source Link
Peter Mortensen
  • 31.3k
  • 22
  • 110
  • 134
Loading
added 7 characters in body
Source Link
Aust
  • 11.6k
  • 13
  • 48
  • 75
Loading
added 585 characters in body
Source Link
George Stocker
  • 58k
  • 29
  • 185
  • 239
Loading
added 585 characters in body
Source Link
George Stocker
  • 58k
  • 29
  • 185
  • 239
Loading
deleted 1 characters in body
Source Link
Subhrajyoti Majumder
  • 41.3k
  • 13
  • 84
  • 103
Loading
added 2 characters in body
Source Link
Mathias Bynens
  • 150.7k
  • 54
  • 224
  • 255
Loading
bolder is better. :)
Source Link
Cipi
  • 11.4k
  • 9
  • 50
  • 60
Loading
Source Link
Gumbo
  • 657.5k
  • 112
  • 792
  • 852
Loading
default

AltStyle によって変換されたページ (->オリジナル) /