Call functions via HTTP requests

exports.date = functions.https.onRequest((req, res) => {
// ...
});
exports.helloWorldPublic = functions.https.onRequest((request, response) => {
response.send("Hello World");
});
​