Command
curl -X POST http://localhost:4000/graphql -H 'Content-Type: application/json' -d '{"query":"{ posts { id title content author { id name } } }"}'
Explanation
Fetches all posts along with author details. Useful for displaying blog feeds or dashboards.
Examples
List posts with author info
{ posts { id title content author { name } } }