Call functions via HTTP requests

Call functions via HTTP requests

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

https://firebase.google.com/docs/functions/local-emulator#serve_http_functions_from_the_command_line