useMutation for request that doesn't do CRUD? #4947
-
Hi, I am doing a PR on my project and I came across a component where form submit is calling |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi 👋 It sounds like you might be describing a GET request (a request that requests some data, given some parameters) that's using the POST verb. POST requests typically result in a change on the server; if this isn't the case, you might want to consider changing the HTTP verb. Does this help? 🙂 |
Beta Was this translation helpful? Give feedback.
Hi 👋
It sounds like you might be describing a GET request (a request that requests some data, given some parameters) that's using the POST verb. POST requests typically result in a change on the server; if this isn't the case, you might want to consider changing the HTTP verb.
Does this help? 🙂