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
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:
----------------------<@329809837338656770> kapa.ai is still learning and improving, please let us how it did by reacting below
other-emerald•2y 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
adverse-sapphire•2y ago
yeah I was just reading this one
thanks
@salihozdemir got this working its nice to have this function
other-emerald•2y ago
I'm glad to hear that