urgent-maroonU
Refine3y ago
5 replies
urgent-maroon

useCustomMutation with GET

Hi, due to a non standard API endpoint I have to do a single call to a GET endpoint on a button click. Initially I thought to use useCustomMutation but the hooks doesn't provide the
get
method.
Is there a "good" way to overcome this case? At least I could just use the axios instance (we use axios for xhr calls) used inside the dataProvider.
Was this page helpful?