Skip to content

Instantly share code, notes, and snippets.

@martinheld
martinheld / GraphQL introspection query via curl.md
Last active August 15, 2025 00:10
GraphQL introspection query via curl

GraphQL introspection query via curl

cat introspection_query.json

{ 
  "query": "query IntrospectionQuery {
      __schema {
        queryType { name }
        mutationType { name }
BEGIN {
}
{
split($0, token, " ");
remoteIp = token[1];
httpStauts = token[9];
# time
split($0, timequote, "[");