QuestionQ17

Understanding and Using APIs

An engineer is developing an API to automatically retrieve specific zones from Cisco Meraki MV cameras. The data supplied when the API runs must reflect the current analytic zones configured on the cameras. The API must automatically start at 6 p.m. each day and store the data on a server for further processing. Which HTTP request component must be configured to satisfy these requirements?

  • A request body with Status Code set to "302"
  • B request body with Content-Type set to "application/xml"
  • C request header with Content-Type set to "application/json"
  • D request header with Content-Encoding set to "application/xml"
Explanation

The Cisco Meraki operation that returns all configured analytic zones for a camera uses JSON (application/json). Configuring the Content-Type request header as application/json specifies that media type; scheduled execution and saving the retrieved data are performed outside the HTTP request.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!