Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 498
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?
Answer options
- 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"
Correct answer: C
Explanation
The correct answer is C because the API needs to communicate with the server using JSON format, which is commonly used for data exchange in APIs. The other options focus on different aspects of the request that do not align with the requirement to retrieve and process data in JSON format.