A network administrator is writing an automation script to interact with a Cisco DNA Center REST API. The script needs to perform a full update of an existing network device configuration object by replacing its attributes on the server. Which HTTP verb should the script use?
- PUTAnswer
- BPOST
- CGET
- DDELETE
Answer
The HTTP PUT verb is used to perform a full update or replacement of an existing resource.
In REST-based APIs, the HTTP PUT method maps directly to the Update operation in the CRUD model when performing a complete replacement of an existing resource.
Step-by-Step Solution
Key Concept
REST API HTTP Verbs and CRUD Mapping
Estimated Time:45s