correct-apricot
correct-apricot14mo ago

useForm onFinish http get

How can i use a http get API call with userForm onFinish?
6 Replies
kapa.ai
kapa.ai14mo 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.ai14mo 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.ai14mo ago
<@703699805242916934> kapa.ai is still learning and improving, please let us how it did by reacting below
wise-white
wise-white14mo ago
correct-apricot
correct-apricot14mo 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?
ambitious-aqua
ambitious-aqua14mo 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.