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.
B.
Add ג€"'u cisco:cisco' in the end of the cURL command
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'
with no special chars:
A. 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’
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’
upvoted 4 times
...
This section is not available anymore. Please use the main Exam Page.200-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
whiney
Highly Voted 1 year, 4 months agoanonymous1966
Most Recent 7 months, 2 weeks ago