nerdexam
Cisco

200-901 · Question #46

The Cisco APIC REST API supports which two methods'? (Choose two.)

The correct answer is A. POST E. GET. The Cisco APIC REST API supports standard HTTP methods including POST and GET for creating and retrieving resources. The other listed methods are either unsupported or not primary methods for APIC.

Understanding and Using APIs

Question

The Cisco APIC REST API supports which two methods'? (Choose two.)

Options

  • APOST
  • BPATCH
  • CPUT
  • DOPTIONS
  • EGET
  • FRESET

How the community answered

(23 responses)
  • A
    91% (21)
  • B
    4% (1)
  • D
    4% (1)

Why each option

The Cisco APIC REST API supports standard HTTP methods including POST and GET for creating and retrieving resources. The other listed methods are either unsupported or not primary methods for APIC.

APOSTCorrect

POST is used in the Cisco APIC REST API to create new managed objects or trigger actions by sending a JSON or XML body to a resource URI. It is one of the core HTTP methods supported by the APIC REST interface.

BPATCH

PATCH is not a natively supported method in the Cisco APIC REST API; APIC uses POST with specific attributes to update objects rather than PATCH.

CPUT

PUT is not a primary method supported by the Cisco APIC REST API for object management.

DOPTIONS

OPTIONS is an HTTP preflight method not listed as a supported REST method in the Cisco APIC REST API documentation.

EGETCorrect

GET is used to retrieve the state of one or more managed objects from the APIC MIT (Management Information Tree) without modifying any data, and is essential for querying the ACI fabric state.

FRESET

RESET is not a valid HTTP method and is not part of the Cisco APIC REST API specification.

Concept tested: Cisco APIC REST API supported HTTP methods

Source: https://developer.cisco.com/docs/apic-mim-ref/

Topics

#Cisco APIC#REST API#HTTP Methods#API Interaction

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice