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
flat-fuchsia•2y ago
Hey @faize This document will be helpful🚀
flat-fuchsia•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).
stormy-goldOP•2y ago
@Omer @yildirayunlu Thanks both of you it works now with your help 💐 🎉