hurt-tomatoH
Refineβ€’4y agoβ€’
20 replies
hurt-tomato

Change content-type depending on we need to edit or to create a ressource

I implemented the edit and the create possibility in my refine application. My API need the
application/json
content-type for the creation and need
application/merge-patch+json
for the edition. How can set the both in my axios header (if it is possible) ?
Was this page helpful?