Skip to content

A REST request with a token

Video · 14 seconds ·

A REST request with a token, as a 14 second clip.

Where it fits

Cisco IOS XE RESTCONF uses HTTPS methods on YANG-modelled resources. GET reads, POST creates a resource or invokes an operation, PUT creates or replaces a resource, PATCH applies edits, and DELETE removes a resource. Cisco maps RESTCONF to NETCONF operations: POST create, PUT create or replace, and PATCH edit-config operations. A successful RESTCONF POST that creates a resource returns 201 Created. The API root is /restconf; data resources use /restconf/data/ and operations use /restconf/operations/.

Network automation and APIs: data formats, REST, NETCONF, Python and telemetry (CCNA and CCNP): CCNP REST APIs and HTTP