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?

QuestionsCategory: 200-901Refer 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?
Admin Staff asked 1 year ago
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'










Correct Answer: B

This question is in 200-901 exam
For getting Cisco Certified DevNet Associate Certificate


Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.