352-001 · Question #487
Refer to the exhibit. Which data format is used in this REST API call?
The correct answer is A. JSON. The REST API call shown in the exhibit uses JSON, identifiable by its curly-brace key-value pair syntax, which is the dominant data interchange format for modern REST APIs.
Question
Refer to the exhibit. Which data format is used in this REST API call?
Exhibit
Options
- AJSON
- BHTML
- CBASH
- DXML
- EHTMLv5
How the community answered
(28 responses)- A93% (26)
- C4% (1)
- E4% (1)
Why each option
The REST API call shown in the exhibit uses JSON, identifiable by its curly-brace key-value pair syntax, which is the dominant data interchange format for modern REST APIs.
JSON (JavaScript Object Notation) structures data as key-value pairs wrapped in curly braces with quoted string keys and typed values; it is the standard serialization format for REST API request and response bodies and matches the syntax visible in the exhibit.
HTML is a markup language for rendering content in web browsers and is not a data interchange format used in REST API payloads.
BASH is a Unix command-line shell and scripting language, not a structured data format used in API communication.
XML uses angle-bracket tags to represent structured data and, while historically used in SOAP and some REST APIs, it does not match the brace-based syntax shown in the exhibit.
HTMLv5 is not a recognized data format; HTML5 is a version of the HTML markup language and has no role as a REST API data serialization format.
Concept tested: Identifying JSON format in REST API calls
Source: https://developer.cisco.com/docs/dna-center/api/2-3-7/
Topics
Community Discussion
No community discussion yet for this question.
