nerdexam
CiscoCisco

200-901 · Question #677

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

The correct answer is A: response body. The HTTP response body contains the payload data returned by the API, including resource attributes like room title and ID needed to compose the notification email.

Understanding and Using APIs

Question

An engineer creates a script that makes calls to the Cisco Webex API to create a new room and then add users to the room. The engineer runs the script and receives an HTTP response with status code 200. The engineer wants to make an enhancement to the script to send an email to the added users that includes the title and ID of the room. Which part of the HTTP response contains the additional information?

Options

  • Aresponse body
  • Bresponse header
  • Cresponse content-type
  • Dresponse status code

Explanation

The HTTP response body contains the payload data returned by the API, including resource attributes like room title and ID needed to compose the notification email.

Common mistakes.

  • B. The response header contains metadata about the response such as Content-Type, rate limit information, and request tracking IDs - not resource-specific data like room title or ID.
  • C. Content-Type is a single response header field indicating the media type of the body (such as application/json) and contains no room-specific resource data.
  • D. The response status code (200) only signals the outcome of the request and carries no resource-specific information such as room title or ID.

Concept tested. HTTP response body as source of API resource data

Reference. https://developer.webex.com/docs/api/v1/rooms/create-a-room

Topics

#HTTP Response Body#API Data Retrieval#Webex API

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions