Sending Queries

Using cURL

GraphQL requests are sent encoded as JSON to the server, which returns a JSON blob of the results.

curl -v https://api.getadministrate.com/graphql \
    -H 'Authorization: bearer <TOKEN>' \
    -H 'Content-Type: application/json' \
    -X POST \
    -d '{"query": "{hello}"}'