4IT580: Docs
4IT580 WebGithub

4th Practical Class:
GraphQL Mutation

GraphQL Query

Query = read data

Similar to GET request in REST API.

GraphQL Mutation

Mutation = change data (add, update, remove, ...)

Similar to POST, PUT, DELETE request in REST API.

GraphQL Variables

Query/Mutation:

Variables:

useMutation Hook