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'
Refer to the exhibit. An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the host
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Refer to the exhibit. An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the host
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!