POST Method

The RESTCONF POST method represents the NETCONF "create" operation. The POST method is sent by the client to create a data resource or invoke an operation resource. The server uses the target resource type to determine how to process the request.

Both the POST and PUT methods can be used to create data resources. The difference is that for POST, the client does not provide the resource identifier for the resource that will be created. The target resource for the POST method for resource creation is the parent of the new resource. The target resource for the PUT method for resource creation is the new resource itself.

Resource Types Supporting POST

Type Description
Datastore Creates a top-level configuration data resource
Data Creates a configuration data child resource
Operation Invokes an RPC operation