Add data to moralis database with cloud functions

I got the code to get data from moralis in cloud functions
can someone tell the code to POST data in moralis with cloud functions.

e.g.-
GET data:
const query = new Moralis.Query(โ€œCasesโ€);
const results = await query.find();

https://docs.moralis.io/moralis-server/files/files#in-objects
https://docs.moralis.io/moralis-server/database/objects#saving-objects

1 Like