Created
April 19, 2022 19:39
-
-
Save alexvenom/8c625a0b87471b9da7d99946b71f310c to your computer and use it in GitHub Desktop.
Express.JS Function that adds a new Property to a Parse.Object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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