I want to insert new data to my “Location” collection on my wix site via postman, but I am getting 500 internal server error. Where is the mistake? (I tried that too but it didn’t work return wixData . insert ( “Location” , body ))
Please check the database permission OR use {suppressAuth: true}
@certified-code I think this function is used when querying
let options ={
“suppressAuth” : true , "
suppressHooks" : true
};
wixData . query ( “myCollection” )
. find ( options )…
but I want to insert.
Where do I need to write this( {suppressAuth: true} ) when inserting?