Search code examples
javascriptreact-nativesanity

How to post data to sanity cms


Hi I want to POST more data on my sanity project database. To add data to the server like we do in the sanity studio

How can I do that?


Solution

  • You can add to / edit your data using the Mutation API or the patch method on the client. The other clients (.NET, PHP, etc.) have equivalent methods.