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?
- PUTCevap
- BPOST
- CGET
- DDELETE
Cevap
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.
Adım Adım Çözüm
Anahtar Kavram
REST API HTTP Verbs and CRUD Mapping
Tahmini Süre:45s