Put request instead of Patch when using <SaveButton>
Hi Guys! I want to send put request in ...Edit.tsx page instead of patch request. Is there any short way to do it?
4 Replies
optimistic-gold•2y ago
Hey @faize This document will be helpful🚀
optimistic-gold•2y ago
FAQ | refine
How can I change the form data before submitting it to the API?
Hey @faize ,
In addition to @yildirayunlu's answer you can also try swizzle ⚡
https://refine.dev/docs/packages/documentation/cli/#swizzle
CLI | refine
refine CLI is a command line application that allows you to interact with your refine project and perform some tasks. This includes creating a new resource, managing updates, swizzle components, and runs your project (build, start, dev).
subsequent-cyanOP•2y ago
@Omer @yildirayunlu Thanks both of you it works now with your help 💐 🎉