Skip to content

Commit

Permalink
Add expressJS links (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri authored Aug 16, 2018
1 parent e30436f commit 55c3305
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions/helloworld/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ const Buffer = require('safe-buffer').Buffer;
* you make an HTTP request to the deployed function's endpoint.
*
* @param {Object} req Cloud Function request context.
* More info: https://expressjs.com/en/api.html#req
* @param {Object} res Cloud Function response context.
* More info: https://expressjs.com/en/api.html#res
*/
exports.helloGET = (req, res) => {
res.send('Hello World!');
Expand All @@ -36,7 +38,9 @@ exports.helloGET = (req, res) => {
* HTTP Cloud Function.
*
* @param {Object} req Cloud Function request context.
* More info: https://expressjs.com/en/api.html#req
* @param {Object} res Cloud Function response context.
* More info: https://expressjs.com/en/api.html#res
*/
// [START functions_tips_terminate]
exports.helloHttp = (req, res) => {
Expand Down

0 comments on commit 55c3305

Please sign in to comment.