-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quotes on Keys #1
Comments
Hi @robindata-gmbh I'm afraid I don't understand what the issue is! Can you please add more details! |
Hi, on https://graphql.org/learn/serving-over-http/ Query variables can be sent as a JSON-encoded string in an additional query parameter called variables. Your example: When we use Relay or Apollo as client, that used like graphql.org, than is your CURL not right.
graphql.org:
its okay, i write a little code:
It's runing with:
currently have I a error: "Syntax Error GraphQL request (2:3) Expected Name, found String "query...."? The problem, your interface does not accept a real json, and quoted keys in the payload are considered to be errors. https://www.w3schools.com/js/js_json_syntax.asp Syntax Error GraphQL request (2:2) Expected Name, found String .... |
Hey @robindata-gmbh sorry for the, I was away on holiday. Thanks for the detailed explanation! |
How I set in response the keys from JSON in Quotes?
https://graphql.org/learn/serving-over-http/
The text was updated successfully, but these errors were encountered: