Skip to content

Commit 6549a03

Browse files
swalkowskijmdobry
authored andcommitted
Correct documentation of the helloContent function (GoogleCloudPlatform#398)
1 parent 17f71e0 commit 6549a03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

functions/http/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ exports.helloWorld = function helloWorld (req, res) {
3636

3737
// [START functions_http_content]
3838
/**
39-
* Responds to any HTTP request that can provide a "message" field in the body.
39+
* Responds to an HTTP request using data from the request body parsed according
40+
* to the "content-type" header.
4041
*
4142
* @param {Object} req Cloud Function request context.
4243
* @param {Object} res Cloud Function response context.

0 commit comments

Comments
 (0)