nerdexam
CiscoCisco

200-901 · Question #434

200-901 Question #434: Real Exam Question with Answer & Explanation

The correct answer is A: headers. When a developer sends an HTTP request to an API, the HTTP response typically includes two Headers: Headers provide metadata about the response or the server. They include information such as content type, content length, server type, and other relevant details. Headers help the

Understanding and Using APIs

Question

When a developer sends an HTTP request to an API, which two elements are expected in an HTTP response? (Choose two.)

Options

  • Aheaders
  • BGET request
  • CPOST request
  • Dscripts
  • Estatus code

Explanation

When a developer sends an HTTP request to an API, the HTTP response typically includes two Headers: Headers provide metadata about the response or the server. They include information such as content type, content length, server type, and other relevant details. Headers help the client understand how to interpret the response. Status Code: The status code is a three-digit numeric code that indicates the outcome of the HTTP request. It informs the client about whether the request was successful, encountered an error, or requires further action. Common status codes include 200 for a successful request, 404 for not found, 500 for internal server error, etc.

Topics

#HTTP Response Structure#Status Codes#HTTP Headers#API Fundamentals

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions