We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b383a2b commit 6bfa02eCopy full SHA for 6bfa02e
README.md
@@ -87,9 +87,11 @@ npm install @google-cloud/functions-framework
87
1. Create an `index.js` file with the following contents:
88
89
```js
90
- exports.helloWorld = (req, res) => {
+ const functions = require('@google-cloud/functions-framework');
91
+
92
+ functions.http('helloWorld', (req, res) => {
93
res.send('Hello, World');
- };
94
+ });
95
```
96
97
1. Now install the Functions Framework:
0 commit comments