Skip to content

Instantly share code, notes, and snippets.

@alexvenom
Created April 19, 2022 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexvenom/8c625a0b87471b9da7d99946b71f310c to your computer and use it in GitHub Desktop.
Save alexvenom/8c625a0b87471b9da7d99946b71f310c to your computer and use it in GitHub Desktop.
Express.JS Function that adds a new Property to a Parse.Object
app.post('/touppercase', inflateParseObject, function(req, res) {
let requestData = req.body;
let name = requestData.get("name");
requestData.object.set('upperName', name.toUpperCase());
successResponse(res, requestData.object);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment