200-901 · Question #19
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
The correct answer is A. XML. RESTCONF on Cisco IOS XE uses XML as its default data-encoding format. RESTCONF is an HTTP-based protocol that provides a REST-like interface to YANG-modeled data, and XML was the original and default encoding. JSON encoding is also supported but must be explicitly requested…
Question
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
Options
- AXML
- Bx-form-encoding
- CYANG
- DYAML
How the community answered
(19 responses)- A89% (17)
- B5% (1)
- D5% (1)
Explanation
RESTCONF on Cisco IOS XE uses XML as its default data-encoding format. RESTCONF is an HTTP-based protocol that provides a REST-like interface to YANG-modeled data, and XML was the original and default encoding. JSON encoding is also supported but must be explicitly requested via the Accept/Content-Type headers. YANG is the data modeling language, not an encoding format. YAML is not used by RESTCONF.
Topics
Community Discussion
No community discussion yet for this question.