nerdexam
Cisco

200-901 · Question #212

Which data is specified in the response header?

The correct answer is D. Content-Type. Content-Type is an HTTP response header field that tells the client what media type (MIME type) the response body contains, such as 'application/json' or 'text/html'. Response headers appear after the status line and before the body. Option A ('{{') is JSON body syntax. Option…

Understanding and Using APIs

Question

Which data is specified in the response header?

Exhibit

200-901 question #212 exhibit

Options

  • A{
  • BHTTP/1.1 200 OK
  • C''type'', ''switch''
  • DContent-Type

How the community answered

(44 responses)
  • A
    2% (1)
  • B
    2% (1)
  • C
    5% (2)
  • D
    91% (40)

Explanation

Content-Type is an HTTP response header field that tells the client what media type (MIME type) the response body contains, such as 'application/json' or 'text/html'. Response headers appear after the status line and before the body. Option A ('{{') is JSON body syntax. Option B ('HTTP/1.1 200 OK') is the status line, which precedes the headers. Option C (' ''type'', ''switch'' ') resembles a JSON body key-value pair. Only Content-Type (D) is an actual HTTP header field.

Topics

#HTTP Response#HTTP Header#Content-Type#API Fundamentals

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice