Another transport mechanism to push configuration changes or read netowrk device configuration that uses YANG data models is the HTTP-based Representational State Transfer Configuration Protocol or RESTCONF. Like NETCONF, RESTCONF uses structured data to for YANG models to provide REST-like APIs. The structured data, again like NETCONF, can be represented as XML, but also allows the use of JSON.
Similar to NETCONF, RESTCONF uses standard HTTP operations.
RESTCONF allows us to use standard GET, POST, PUT, PATCH, and DELETE methods in REST to manipulate and retrieve data
backed by YANG models. Let's take a look at how operations on RESTCONF compare to NETCONF.
RESTCONF has been in discussion among major players since 2014, however the RFC was just ratified for publication as recently as January 2017. Please read the RFC's introduction as it provides a great overview.
Navigate here for the full RFC if you are interested in learning more.
When working with YANG models over RESTCONF, a key concept is to understand how the URL specified maps to the underlying YANG model being accessed.
Later in this section of the lab you will use the concepts presented in this visual to apply configuration using YANG models.