What is the format of a GraphQL response?
a) XML
b) JSON
c) Plain text
d) YAML
Answer:
b) JSON
Explanation:
GraphQL responses are returned in JSON format, which includes both the data requested and any errors encountered during execution.
GraphQL responses are returned in JSON format, which includes both the data requested and any errors encountered during execution.