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.
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)- A91% (21)
- B4% (1)
- D4% (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.
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.
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.
PUT is not a primary method supported by the Cisco APIC REST API for object management.
OPTIONS is an HTTP preflight method not listed as a supported REST method in the Cisco APIC REST API documentation.
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.
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
Community Discussion
No community discussion yet for this question.