Create a new post via mutation
Remove a post by ID
Update an existing user's details
Update an existing post
curl -X POST http://localhost:4000/graphql -H 'Content-Type: application/json' -d '{"query":"mutation { updatePost(id: 1, title: \"Updated Title\") { id title } }"}'
Modifies an existing post. Useful for editing or correcting content.
Update content of post ID 5
mutation { updatePost(id: 5, content: \"New content\") { id content } }
Retrieve a single post by ID
Create a new user via mutation
Remove a user by ID