ExamGecko
Question list
Search
Search

Question 437 - 200-901 discussion

Report
Export

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?

A.

request body with Status Code set to '302'

Answers
A.

request body with Status Code set to '302'

B.

request header with Content-Type set to 'application/json'

Answers
B.

request header with Content-Type set to 'application/json'

C.

request header with Content-Encoding set to 'application/xml'

Answers
C.

request header with Content-Encoding set to 'application/xml'

D.

request body with Content-Type set to 'application/xml'

Answers
D.

request body with Content-Type set to 'application/xml'

Suggested answer: B

Explanation:

When creating an API to interact with Cisco Meraki MV cameras, the request header must specify the correct content type to ensure the server understands the format of the request data. Setting the Content-Type header to 'application/json' indicates that the request body is formatted as JSON. This is essential for APIs that expect JSON data for requests and responses.

Additionally, the API must be scheduled to run automatically at 6 p.m. every day. This can be achieved using a cron job or a scheduling tool like cron in Unix-based systems or Task Scheduler in Windows.

Cisco DevNet Associate Certification Guide

Cisco Meraki API Documentation

asked 07/10/2024
Khalid Laghmami
26 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first