Page 1 of 1

Refer to the exhibit. An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the host

Posted: Fri Jul 22, 2022 2:52 pm
by answerhappygod
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?
Refer To The Ex 1
Refer To The Ex 1 (141.58 KiB) Viewed 62 times
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'