Skip to content

Commit 9a2a297

Browse files
authored
Update README.md
1 parent 5b4713a commit 9a2a297

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ dependencies {
2929

3030
# Usage
3131

32-
The servlet supports both GET and POST.
33-
In POST, plain request body containing JSON is supported, as well as a multipart upload with a part called 'graphql'.
32+
The servlet supports both GET and POST. For GET requests, query parameters are read.
33+
In POST, plain request body containing JSON is supported, as well as a multipart upload with a part called 'graphql' containing JSON. All methods expect the following fields:
34+
* query
35+
* variables (optional)
36+
* operationName (optional)
3437

3538
## Standalone servlet
3639

0 commit comments

Comments
 (0)