nerdexam
Cisco

300-170 · Question #63

Which two HTTP methods are supported by the Cisco Nexus REST API? (Choose two )

The correct answer is B. POST C. DELETE. The Cisco Nexus REST API supports standard HTTP methods for interacting with resources, specifically including POST for creating or submitting data and DELETE for removing resources.

Automation and Orchestration

Question

Which two HTTP methods are supported by the Cisco Nexus REST API? (Choose two )

Options

  • APUT
  • BPOST
  • CDELETE
  • DUPDATE
  • ECONNECT

How the community answered

(54 responses)
  • A
    2% (1)
  • B
    94% (51)
  • D
    4% (2)

Why each option

The Cisco Nexus REST API supports standard HTTP methods for interacting with resources, specifically including POST for creating or submitting data and DELETE for removing resources.

APUT

While PUT is a standard HTTP method often supported for updating resources, the question specifically asks for two methods, and POST and DELETE are core functionalities.

BPOSTCorrect

The Cisco Nexus REST API supports the POST method, which is commonly used to create new resources or submit data to a specified resource, such as sending configuration commands or creating new objects.

CDELETECorrect

The Cisco Nexus REST API also supports the DELETE method, which is used to remove a specified resource from the system, like deleting a VLAN or an interface configuration.

DUPDATE

UPDATE is not a standard HTTP method; typical methods for modifying resources are PUT or PATCH.

ECONNECT

CONNECT is an HTTP method primarily used for establishing a tunnel, typically for proxies, and is not generally used for direct resource manipulation in a REST API context.

Concept tested: Cisco Nexus REST API HTTP methods

Source: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x_chapter_01000.html

Topics

#REST API#HTTP methods#Nexus automation

Community Discussion

No community discussion yet for this question.

Full 300-170 Practice