stormy-gold
stormy-gold2y ago

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