Skillfluencer 1 year ago
skillfluencer #technology

What is GraphQL?

What is GraphQL?

As per the definition from the official website, GraphQL is a query language for the API.

It works on 3 core features:

  1. Ask for what you need and get exactly that
  2. Get many resources in a single request
  3. Describe what is possible with a type system.

Below is a simple example of how you can get only those things in response which is asked as a GraphQL query to the API.

One of the most important aspects of GraphQL is that, while typical REST APIs require loading from multiple URLs, GraphQL APIs get all the data your app needs in a single request.This makes GraphQL APIs faster ABD thus, apps using GraphQL can be quick even on slow network connections.

The below diagrams are an example of how you can get many resources in a single request. The first diagram depicts the GraphQL query request and the second diagram is the response returned for the query.

It has a strong system using which we can describe the APIs as types and fields and not endpoints. GraphiQL is very useful tool to work with GraphQL.

Web Services - SOAP, REST, JSON, XML

Web Services - SOAP, REST, JSON, XML

1657353768.png
Skillfluencer
1 year ago
Message Queuing service

Message Queuing service

1657353768.png
Skillfluencer
1 year ago
AWS Eventbridge

AWS Eventbridge

1657353768.png
Skillfluencer
1 year ago
Best time to visit Uttarakhand

Best time to visit Uttarakhand

1657353768.png
Skillfluencer
1 year ago
What is Split io?

What is Split io?

1657353768.png
Skillfluencer
1 year ago