nerdexam
Cisco

300-635 · Question #49

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

The correct answer is B. POST. POST (B) is correct because the Cisco Nexus NX-API REST interface uses POST as its primary method for sending CLI commands and configuration payloads to the device - requests are sent as structured JSON or XML bodies, which aligns with POST semantics. UPDATE (D) is wrong…

Network Programmability Foundation

Question

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

Options

  • APUT
  • BPOST
  • CDELETE
  • DUPDATE

How the community answered

(30 responses)
  • B
    90% (27)
  • C
    3% (1)
  • D
    7% (2)

Explanation

POST (B) is correct because the Cisco Nexus NX-API REST interface uses POST as its primary method for sending CLI commands and configuration payloads to the device - requests are sent as structured JSON or XML bodies, which aligns with POST semantics.

UPDATE (D) is wrong because UPDATE is not a valid HTTP method at all; it does not exist in the HTTP specification. The standard method for updating resources is PUT or PATCH, so this is a classic distractor designed to catch candidates who confuse HTTP verbs with CRUD terminology.

PUT (A) and DELETE (C) are real, standard HTTP methods used in many REST APIs, but the Cisco NX-API (particularly the CLI-style NX-API) is narrower in scope and primarily relies on POST (and GET) rather than the full REST verb set - making them wrong in the specific context of NX-API CLI.

Memory tip: Think "NX-API POSTs everything" - unlike a pure RESTful API that maps verbs to actions, the Cisco NX-API CLI tunnels commands inside a POST body. And remember: "UPDATE" is a SQL keyword, not an HTTP method - if you see it in an HTTP context, it's always a trap.


Note: The question says "Choose two" but only one correct answer (B) is listed. If this is from your exam prep material, it may have a formatting error - you may want to verify the source, as GET is often paired with POST as the second supported method on NX-API CLI.

Topics

#REST API#HTTP Methods#Nexus API#Network Programmability

Community Discussion

No community discussion yet for this question.

Full 300-635 Practice