GraphQL Playground
GraphQL Playground is a powerful tool that can be used to test and check the documentation for queries, mutations, objects types, and fields.
Last updated
Was this helpful?
Was this helpful?
{
"Authorization": "Token replace_user_token"
}{
"Authorization": "Token replace_user_token",
"sg-user": "replace_user_id"
}{
restaurant(id: "UmVzdGF1cmFudDo1MzNhMTRjMC0zNmQ2LTQ4NWEtYmJhNC1mOTJmOTc5MWFjZTY=") {
name
databaseId
country
address1
}
}{
"data": {
"restaurant": {
"name": "Demostaurant - Augmented Reality Demo",
"databaseId": "533a14c0-36d6-485a-bba4-f92f9791ace6",
"country": "USA",
"address1": "42 Suggestic Rd"
}
}
}query restaurantById($myVariable: ID!) {
restaurant(id: $myVariable) {
name
country
address1
}
}