express-get-json Flashcards

1
Q

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

A

The value of the content-type header is application/json

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the significance of an HTTP request’s method?

A

It tells the server what type of interaction the client wants to have with it. It shows intent but does not make the server do anything particular, it is up to the server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly