Skip to content
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

Getting Error :"Must Provide Query String" #7

Open
opiuman opened this issue Jan 5, 2018 · 3 comments
Open

Getting Error :"Must Provide Query String" #7

opiuman opened this issue Jan 5, 2018 · 3 comments

Comments

@opiuman
Copy link

opiuman commented Jan 5, 2018

A simple query request is working via the "GraphQL Playground" against our GraphQL server.
However, it's getting error "Must Provide Query String" while using your package to make the request.

Not sure if that's because of the ContentType (multipart/form-data vs application/json). That's definitely a blocker.

@matryer
Copy link
Contributor

matryer commented Mar 7, 2018

Can you shed some light on to what your server expects?

@ghost
Copy link

ghost commented Apr 11, 2018

Header content type for sure, try example like this:

echo '{ hello }' | http POST localhost:4000/graphql 'Content-Type:application/graphql'

@matryer
Copy link
Contributor

matryer commented May 24, 2018

Please update and try again following #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants