Which standard REST API method allows you to create a managed object?
A. POST
B. GET
C. PATCH
D. SET
Correct Answer: A
Explanation/Reference:
http://aci-troubleshooting-book.readthedocs.io/en/latest/rest.html
http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/rest-api-getting-started-guide/5-4/b_REST_API_Getting_Started_Guide_54.html
Write Operations
Create and update operations to the REST API are actually both implemented using the POST method, so that if an object does not already exist it will be created, and if it does already exist, it will be updated to reflect any changes between its existing state and desired state.
Both create and update operations can contain complex object hierarchies, so that a complete tree can be defined within a single command, so long as all objects are within the same context root and they are under the 1MB limit for data payloads to the REST API. This limit is in place to guarantee performance and protect the system under high load.
Explanation/Reference:
http://aci-troubleshooting-book.readthedocs.io/en/latest/rest.html
http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/rest-api-getting-started-guide/5-4/b_REST_API_Getting_Started_Guide_54.html
Write Operations
Create and update operations to the REST API are actually both implemented using the POST method, so that if an object does not already exist it will be created, and if it does already exist, it will be updated to reflect any changes between its existing state and desired state.
Both create and update operations can contain complex object hierarchies, so that a complete tree can be defined within a single command, so long as all objects are within the same context root and they are under the 1MB limit for data payloads to the REST API. This limit is in place to guarantee performance and protect the system under high load.