Created
March 26, 2019 11:48
-
-
Save dawidnawrot/220344e2c03a171414223716bbeb9b35 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mutation section | |
# Write your query or mutation here | |
mutation publishPage($var:ID!) { | |
publishPage(pageId: $var) { | |
id | |
} | |
} | |
# Query variables section, where long string is a pageId from db | |
{ | |
"var": "5c9a0e94e6669c03a074e61f" | |
} | |
# HTTP headers section | |
{ | |
"Authorization" : "Bearer access_token" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment