ExamGecko
Question list
Search
Search

Question 53 - 200-901 discussion

Report
Export

Refer to the exhibit.

An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram illustrates the HTTP messages observed. Which change to the API request resolves the issue?

A.

Remove the -H ‘Accept: application/yang-data+json' HTTP header because it is not required.

Answers
A.

Remove the -H ‘Accept: application/yang-data+json' HTTP header because it is not required.

B.

Add -‘u cisco:cisco' in the end of the cURL command

Answers
B.

Add -‘u cisco:cisco' in the end of the cURL command

C.

Change the request method from -X “GET” to -X “POST”

Answers
C.

Change the request method from -X “GET” to -X “POST”

D.

Add Content-Type HTTP header with ‘application/yang-data+json’ using -H ‘Content-Type: application/yang-data+json’

Answers
D.

Add Content-Type HTTP header with ‘application/yang-data+json’ using -H ‘Content-Type: application/yang-data+json’

Suggested answer: B
asked 07/10/2024
Yung-Shuen Chang
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first