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. Remove the -H 'Accept: application/yang-data+json' HTTP header because it is not required.
B) Use -u cisco:cisco instead of -u 'cisco:cisco' Use -u cisco:cisco instead of -u 'cisco:cisco'
C) Change the request method from -X "GET" to -X "POST" 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' Add Content-Type HTTP header with ' application/yang-data+json ' using -H 'Content-Type: application/yang-data+json'
Correct Answer:
Verified
Q119: What are two characteristics of Bare Metal
Q120: Which detail is included in a routing
Q121: What are the purpose of the Cisco
Q122: Which type of threat occurs when an
Q123: Refer to the exhibit. Q125: What is the purpose of a firewall Q126: When a Cisco IOS XE networking device Q127: A company has written a script that Q128: Refer to the exhibit. Q129: What are two benefits of managing network
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents