In GraphQL, how does the client request data?

In GraphQL, how does the client request data?

a) By using RESTful endpoints
b) By sending SQL queries
c) By sending GraphQL queries to a single endpoint
d) By using SOAP protocol

Answer:

c) By sending GraphQL queries to a single endpoint

Explanation:

GraphQL allows clients to send queries to a single endpoint, unlike REST, which requires different endpoints for different types of requests.

Reference:

GraphQL Quiz – MCQ – Multiple Choice Questions

Scroll to Top