Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Commit 9b6a434

Browse files
authored
Merge pull request #1950 from sendgrid/thinkingserious-curl-fix
Fix cURL example
2 parents f175651 + 0a5cbff commit 9b6a434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/API_Reference/Web_API_v3/Mail/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
{% endanchor %}
6161

6262
{% codeblock lang:bash %}
63-
curl =X "POST" "https://api.sendgrid.com/v3/mail/send" -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d "[YOUR DATA HERE]"
63+
curl -X "POST" "https://api.sendgrid.com/v3/mail/send" -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d "[YOUR DATA HERE]"
6464
{% endcodeblock %}
6565

6666
You must authenticate every API request to send mail by including an <code>Authorization</code> header. This header should include the authorization type of <code>Bearer</code>, followed by your API Key that has already been assigned the necessary permissions. Click <a href="{{root_url}}/API_Reference/Web_API_v3/How_To_Use_The_Web_API_v3/authentication.html">here</a> for more information.

0 commit comments

Comments
 (0)