useForm onFinish http get
How can i use a http get API call with userForm onFinish?
6 Replies
Hi @pabloat. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
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?
<@703699805242916934> kapa.ai is still learning and improving, please let us how it did by reacting below
correct-apricot•2y ago
Hey @pabloat,
Are you looking for this?
https://refine.dev/docs/faq/#how-can-i-change-the-form-data-before-submitting-it-to-the-api
metropolitan-bronze•2y 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?
extended-salmon•2y 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.