Cisco
300-535 · Question #72
Refer to the exhibit. Which expression must be placed onto the blank in the code to retrieve the router configuration in XML?
The correct answer is B. GET. The curl -X flag is used to specify the HTTP method. To retrieve (read) the router configuration in XML using RESTCONF, you must use the GET method. POST is used to create, PATCH/PUT are used to update, and GET-CONFIG/PATCH-XML are not valid HTTP methods.
Design for Cisco Cloud Automation
Question
Refer to the exhibit. Which expression must be placed onto the blank in the code to retrieve the router configuration in XML?
Exhibit
Options
- APOST
- BGET
- CGET-CONFIG
- DPATCH-XML
How the community answered
(22 responses)- A5% (1)
- B77% (17)
- C14% (3)
- D5% (1)
Explanation
The curl -X flag is used to specify the HTTP method. To retrieve (read) the router configuration in XML using RESTCONF, you must use the GET method. POST is used to create, PATCH/PUT are used to update, and GET-CONFIG/PATCH-XML are not valid HTTP methods.
Topics
#RESTCONF#HTTP GET#XML#configuration retrieval
Community Discussion
No community discussion yet for this question.
