Tokei as a Service
cargo run
-
Run a mutation
curl \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -X POST \ --data '{ "query": "mutation { add(by: 1) }" }' \ http://127.0.0.1:8000/graphql
-
Run a query
curl \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -X POST \ --data '{ "query": "{ accumulator }" }' \ http://127.0.0.1:8000/graphql