Company
Date Published
Author
Khalil Stemmler
Word count
678
Language
English
Hacker News points
None

Summary

To make a GraphQL request using HTTP methods, you can use either the POST or GET method. When making a POST request, you need to pass the `query`, `operationName`, and `variables` properties in the JSON body of the request. On the other hand, when making a GET request, each property is provided as an HTTP query parameter separated by an ampersand. The main limitation of using the GET method is that it doesn't support variables or mutation operations. Both methods have their own nuances and limitations, but they can be used to send GraphQL requests.