express-get-json Flashcards

1
Q

What is the appropriate content-type header for HTTP messages that contain JSON in their bodies?

A
  • application/json; charset=utf-8
  • JS, it would be application/javascript
  • CSS, it would be text/css
  • HTML, it would be text/html
How well did you know this?
1
Not at all
2
3
4
5
Perfectly