polling implementation with POST and GET endpoints
If I have to call a POST to get an id, then poll with GET by passing that id once it’s retrieved , what are the pros/cons in not using a mutation for the initial POST? There is no visual representation of the id from the POST in the UI
1 Reply
flat-fuchsia•3y ago
Mutation or query does not care about POST or GET. If you want to mutate, go with mutation. Else use useQuery.