Cisco
200-901 · Question #397
Refer to the exhibit. An administrator attempts to perform a GET operation by using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram in the exhibit illustrates th
Sign in or unlock 200-901 to reveal the answer and full explanation for question #397. The question stem and answer options stay visible for context.
Understanding and Using APIs
Question
Refer to the exhibit. An administrator attempts to perform a GET operation by using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram in the exhibit illustrates the HTTP messages observed. Which change to the API request resolves the issue?
Exhibit
Options
- ARemove the -H 'Accept: application/yang-data+json' header.
- BReplace -u cisco:cisco parameter with -u 'cisco:cisco'.
- CChange the request method from -X 'GET' to -X 'POST'.
- DAdd the -H 'Content-Type: application/yang-data+json' header.
Unlock 200-901 to see the answer
You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#RESTCONF#API Authentication#Curl Syntax#HTTP Headers
