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
optimistic-gold2y ago
Hey @faize This document will be helpful🚀
optimistic-gold
optimistic-gold2y ago
Omer
Omer2y ago
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-cyan
subsequent-cyanOP2y ago
@Omer @yildirayunlu Thanks both of you it works now with your help 💐 🎉

Did you find this page helpful?