Gato GraphQL

Product details

Q: Seeking clarification

I'm trying to understand what this tool actually does... Does it allow me to expose endpoints to my WordPress site? Including the CPT?

And by exposing them, I'll be able to perform GET/POST/PUT/DELETE on my website, is that right?

MyWorkDeskPLUSFeb 24, 2025
Founder Team
Leonardo_GatoGraphQL

Leonardo_GatoGraphQL

Feb 24, 2025

A: Hi, this tool is a GraphQL server. When you think of GET/POST/PUT/DELETE that's in terms of REST. GraphQL is also an API, which allows you to access and modify data, but you think about it in terms of queries (eg: `query { posts { id title content } }`) and mutations (eg: `mutation { createPost(input: { title: "...", content: "..." } ) { status } }`)

And yes, you can expose endpoints. Indeed, with the Persisted Queries extension, you can expose endpoints that you create directly from the wp-admin, without having to code/deploy any PHP code! Check: https://gatographql.com/extensions/persisted-queries

(Persisted Queries is available starting from tier 3)

Share
Helpful?
Log in to join the conversation
Related questions
View product details