nerdexam
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

300-535 question #72 exhibit

Options

  • APOST
  • BGET
  • CGET-CONFIG
  • DPATCH-XML

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    77% (17)
  • C
    14% (3)
  • D
    5% (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.

Full 300-535 Practice