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
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.
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’\
XML
Not correct its XML