How do I query the GraphQL endpoint with Axios/Got?

Could you use an actual GraphQL client, like Apollo? GraphQL queries aren’t just the raw query string, it’s a JSON object with other things added.