-
Notifications
You must be signed in to change notification settings - Fork 0
dog graphql
Herb Stahl edited this page May 29, 2019
·
1 revision
You need to be authenticated to mutate anything. Changing this later to be configurable.
Authorization: Bearer {{access_token}}
x-authScheme: self
mutation q($input: DogInputType!){
mutateDog(dog: $input){
name
}
}
{
"input":{
"name":"Ralph"
}
}
{
"data": {
"mutateDog": {
"name": "Ralph"
}
}
}
query{
dogName
dogName2
}
{
"data": {
"dogName": "Ralph",
"dogName2": "Heidi"
}
}