GraphiQL API Documentation
    Preparing search index...

    Type Alias HttpMethod

    HttpMethod: "GET" | "POST" | "QUERY"

    HTTP methods a transport can use for query operations.

    • POST sends the operation in a JSON request body.
    • GET encodes the operation into the URL (no body); safe and cacheable, but subject to URL length limits.
    • QUERY sends a JSON request body like POST, but is safe and idempotent like GET (per the HTTP QUERY method), so responses stay cacheable. See https://www.rfc-editor.org/rfc/rfc10008.html

    Mutations may only be sent over POST, since GET and QUERY are safe.