Skip to content

Instantly share code, notes, and snippets.

@stephenboyd
Last active April 10, 2016 23:05
Show Gist options
  • Select an option

  • Save stephenboyd/392b86ce37e62c40022466034e7497bb to your computer and use it in GitHub Desktop.

Select an option

Save stephenboyd/392b86ce37e62c40022466034e7497bb to your computer and use it in GitHub Desktop.
HTTP.post('https://api.sendgrid.com/v3/contactdb/recipients', {
headers: {
Authorization: "Bearer API",
'Content-Type': 'application/json'
},
content: "[{'email': '${email}'}]"
});
HTTP.post('https://api.sendgrid.com/v3/contactdb/recipients', {
headers: {
Authorization: "Bearer API",
'Content-Type': 'application/json'
},
content: "[{\"email\": \"${email}\"}]"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment