Back to Catalog

Running GraphQL queries and mutations using a GraphQL client

BeginnerGuided Project

Learn how to use a GraphQL client to run GraphQL queries and mutations.

Language

  • English

Topic

  • Open Liberty

Offered By

  • IBM

Estimated Effort

  • 20 minutes

Platform

  • SkillsNetwork

Last Update

  • April 28, 2024
About This Guided Project
You will learn how to create a GraphQL client microservice.

GraphQL is an open source data query language. Unlike REST APIs, each POST request sent to a GraphQL service goes to a single HTTP endpoint. To learn more about GraphQL, see our GraphQL intro guide.

You’ll start with the GraphQL service created as part of our GraphQL intro guide. You’ll then use the SmallRye GraphQL client to create a client microservice that will make requests to the GraphQL service. The results of the requests will be displayed at REST endpoints. OpenAPI will be used to help make the requests and display the data. To learn more about OpenAPI, check out the Documenting RESTful APIs guide.