Skip to content
Discussion options

You must be logged in to vote

The framework only supports POST requests. Note that it supports both application/json and application/graphql. The latter is really nice when using something like curl, because you don't have to quote/escape things.

curl -X POST --location "http://localhost:8080/graphql" \
    -H "Content-Type: application/graphql" \
    -d "{
  hello
}"

Besides curl, you can also use the HTTP Request feature in Intellij, and of course there is /graphiql.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@shuston
Comment options

Comment options

You must be logged in to vote
1 reply
@Ericnunez
Comment options

Answer selected by Ericnunez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants