I am new to working with Nuxt and sanity and have a question regarding post requests. The frontend of my application is build using Nuxt and for the backend I use sanity. I would like to make post requests from the frontend to automatically create objects in sanity (similar to this: https://css-tricks.com/how-to-create-a-commenting-engine-with-next-js-and-sanity/). How do I have to configure my sanity client and what is the correct syntax of the request in order to be able to do this?
Asked
Active
Viewed 12 times