File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ function getPayload (requestBody) {
103
103
* https://[YOUR_REGION].[YOUR_PROJECT_ID].cloudfunctions.net/sendEmail?sg_key=[YOUR_API_KEY]
104
104
*
105
105
* @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"
107
107
*
108
108
* @param {Object } req Cloud Function request context.
109
109
* @param {Object } req.query The parsed querystring.
You can’t perform that action at this time.
0 commit comments