To replace device configuration using RESTCONF with the Python library Requests, one would use the put() method. The put() method in HTTP is used to update an existing resource or create it if it does not exist. In RESTCONF, which operates over HTTP, using put() will replace the entire target configuration datastore with the payload specified in the request. References: Automating Cisco Enterprise Solutions Official Cert Guide
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit