7 lines
289 B
JavaScript
7 lines
289 B
JavaScript
|
const functions = require('@google-cloud/functions-framework');
|
||
|
|
||
|
// Register an HTTP function with the Functions Framework that will be executed
|
||
|
// when you make an HTTP request to the deployed function's endpoint.
|
||
|
functions.http('helloGET', (req, res) => {
|
||
|
res.send('Hello World!');
|
||
|
});
|