Command
curl -X POST http://localhost:4000/graphql -H 'Content-Type: application/json' -d '{"query":"{ users { id name posts { id title } } }"}'
Explanation
Shows how to query related data in a single request. Useful for relational views or dashboards.
Examples
Fetch users with their posts
{ users { name posts { title } } }