fair-rose
fair-rose17mo ago

useForm to use a custom API

I wanted to useForm with custom endpoint is this possible? currently my build is for SUPABASE, Nextjs. i wanted to use the nextjs api instead of supabase on useForm.
5 Replies
kapa.ai
kapa.ai17mo ago
Hi @pkalib. 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 useForm documentation (https://refine.dev/docs/api-reference/antd/hooks/form/useForm/) for more information on how to use the useForm hook with Ant Design. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai17mo ago
<@329809837338656770> kapa.ai is still learning and improving, please let us how it did by reacting below
other-emerald
other-emerald17mo ago
Hey @pkalib, You can define another dataProvider for this. Check out this: https://refine.dev/docs/api-reference/core/providers/data-provider/#multiple-data-providers
fair-rose
fair-rose17mo ago
yeah I was just reading this one thanks @salihozdemir got this working its nice to have this function
other-emerald
other-emerald17mo ago
I'm glad to hear that