Is there a way to query the schema of mutations of a graphql server using HTTP? Or a way to query the entire schema of a graphql server? Thanks!
Sure is. The official GraphQL specs outline the introspection specifics . An example of fetching the available mutations might look like so ...
{
__schema {
mutationType {
fields {
name
}
}
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.