nerdexam
Cisco

200-901 · Question #564

An engineer is creating an API to automatically obtain specific zones from Cisco Meraki MV cameras. The data that is provided when the API runs must represent the current analytic zones that are…

The correct answer is C. request header with Content-Type set to "application/json". The Content-Type header is used to indicate the media type of the resource being requested or sent. In this case, since the engineer is creating an API to obtain data from Cisco Meraki MV cameras, setting the Content-Type to "application/json" indicates that the data should be…

Understanding and Using APIs

Question

An engineer is creating an API to automatically obtain specific zones from Cisco Meraki MV cameras. The data that is provided when the API runs must represent the current analytic zones that are configured on the cameras. The API must start automatically at 6 p.m. every day and save the data on a server for further processing. Which part of the HTTP request must be configured to meet these requirements?

Options

  • Arequest body with Status Code set to "302"
  • Brequest body with Content-Type set to "application/xml"
  • Crequest header with Content-Type set to "application/json"
  • Drequest header with Content-Encoding set to "application/xml"

How the community answered

(56 responses)
  • A
    18% (10)
  • B
    9% (5)
  • C
    70% (39)
  • D
    4% (2)

Explanation

The Content-Type header is used to indicate the media type of the resource being requested or sent. In this case, since the engineer is creating an API to obtain data from Cisco Meraki MV cameras, setting the Content-Type to "application/json" indicates that the data should be sent and received in JSON format.

Topics

#HTTP headers#API requests#JSON#Cisco Meraki API

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice