terraform-provider-google/google/test-fixtures/cloudfunctions/http_trigger_update.js

10 lines
253 B
JavaScript
Raw Normal View History

/**
* HTTP Cloud Function.
*
* @param {Object} req Cloud Function request context.
* @param {Object} res Cloud Function response context.
*/
exports.helloGET = function helloGET (req, res) {
res.send("Goodbye ${req.body.name || 'World'}!");
};