I have just started playing around with GraphQL and I just wanted to find out how you could use curl
for testing GraphQL APIs.
curl 'https://countries.trevorblades.com/' \
-X POST \
-H 'content-type: application/json' \
--data '{ "query": "{ continents { code name } }" }'