rare-sapphire
rare-sapphire16mo ago

useForm onFinish http get

How can i use a http get API call with userForm onFinish?
6 Replies
kapa.ai
kapa.ai16mo ago
Hi @pabloat. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai16mo ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the refine documentation for more information: https://refine.dev/docs ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
kapa.ai
kapa.ai16mo ago
<@703699805242916934> kapa.ai is still learning and improving, please let us how it did by reacting below
variable-lime
variable-lime16mo ago
rare-sapphire
rare-sapphire16mo ago
Hi @salihozdemir , i tried useForm but it makes a POST call, is there anu hook to make a GET call or i have to use React Query directly?
grumpy-cyan
grumpy-cyan16mo ago
I guess you can use the useCustom hook to fetch data from api with get method. You can check it there: https://refine.dev/docs/api-reference/core/hooks/data/useCustom/
useCustom | refine
useCustom is an extended version of TanStack Query's useQuery. It supports all the features of useQuery and adds some extra features.