looking for help setting up simple first time Postman query #6430
-
Hi all, I'm trying to test a simple query in postman but keep getting errors. Under headers I have: key: content-type, value: application/json My query directly copied from the console is
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I found this that works with help but how do you convert from this: |
Beta Was this translation helpful? Give feedback.
I found this that works with help but how do you convert from this:
query MyQuery { t_user(where: {id: {_eq: "2"}}) { name id } }
To this?
{"query":"query MyQuery {\n t_user(where: {id: {_eq: \"2\"}}) {\n name\n id\n }\n}\n","variables":null,"operationName":"MyQuery"}