API Requests
useMutation
Mutation
Note: useQuery
/usePrivateQuery
can only be used for GET
requests.
For POST
, PUT
or DELETE
requests, please use useMutation
. For example to create a new order:
Note: useQuery
/usePrivateQuery
can only be used for GET
requests.
For POST
, PUT
or DELETE
requests, please use useMutation
. For example to create a new order: