Skip to content

how to make POST api request by click on Save Button #4325

Answered by alicanerdurmaz
kyvox-dev asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @kyvox-dev, We created another solution and example for you.
you can use useCustomMutation with form data and you can send your request with any method.
https://codesandbox.io/s/damp-snowflake-qog2fn?file=/src/pages/posts/edit.tsx:938-1009

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@alicanerdurmaz
Comment options

Answer selected by kyvox-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants