From 55c33054621e5a012685d700304823d6e139c6e9 Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Thu, 16 Aug 2018 12:51:11 -0700 Subject: [PATCH] Add expressJS links (#711) --- functions/helloworld/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions/helloworld/index.js b/functions/helloworld/index.js index 88240c853c..468347f97e 100644 --- a/functions/helloworld/index.js +++ b/functions/helloworld/index.js @@ -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!'); @@ -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) => {