- Schema
http://localhost:8080/graphql/schema.json
- GraphQL endpoint
http://localhost:8080/graphql
mutation {
createUser(user: {
name: "Neto",
email: "[email protected]"
}) {
name,
email
}
}
mutation {
createBook(email: "[email protected]", book: {
title: "GraphQL For You"
}) {
title
}
}
query {
findUser(email: "[email protected]") {
email
name
books {
title
}
}
}
query {
findBook(title: "GraphQL For You") {
title
userOwner {
name,
email
}
}
}