Skip to content

Commit 72cb8cf

Browse files
committed
Fix typo.
1 parent 07bfa2d commit 72cb8cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/sendgrid/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function getPayload (requestBody) {
103103
* https://[YOUR_REGION].[YOUR_PROJECT_ID].cloudfunctions.net/sendEmail?sg_key=[YOUR_API_KEY]
104104
*
105105
* @example
106-
* curl -X POST "https://us-central1.your-project-id.cloudfunctions.net/sendEmail?sg_key=your_api_key" --data '{"to":"bob@email.com","from":"[email protected]","subject":"Hello from Sendgrid!","body":"Hello World!"}'
106+
* curl -X POST "https://us-central1.your-project-id.cloudfunctions.net/sendEmail?sg_key=your_api_key" --data '{"to":"bob@email.com","from":"[email protected]","subject":"Hello from Sendgrid!","body":"Hello World!"}' --header "Content-Type: application/json"
107107
*
108108
* @param {Object} req Cloud Function request context.
109109
* @param {Object} req.query The parsed querystring.

0 commit comments

Comments
 (0)