When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?

When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
A . YANG
B . YAML
C . XML
D . x-form-encoding

Answer: A

Explanation:

Reference https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/restconf_prog_int.html

Latest 200-901 Dumps Valid Version with 211 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
4 Comments
Inline Feedbacks
View all comments
Saber Dokmak
Saber Dokmak
4 years ago

It can be JSON or XML, not YANG. JSON is not an option so it’s XML.
YANG the data modelling language, not data encoding, encapsulated within an XML/JSON data encoding.

Cholo
Cholo
5 years ago

Why you guys think it is XML? look at this link.
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg.pdf

RESTCONF SAYS it is
>-H ‘Content-Type:application/yang-data+json’\>
-H ‘Accept:application/yang-data+json’\

Javies
Javies
5 years ago

XML

Javies
Javies
5 years ago

Not correct its XML