Skip to content

Instantly share code, notes, and snippets.

@sabarasaba
Created August 31, 2017 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sabarasaba/1fc04d4e7ebf46bddcb749cf42771abb to your computer and use it in GitHub Desktop.
Save sabarasaba/1fc04d4e7ebf46bddcb749cf42771abb to your computer and use it in GitHub Desktop.
reminders testing
const request = require('request-promise')
request({
uri: 'https://api.reminders.company/v1/reminders',
method: 'POST',
json: true,
headers: {
token: 'f68ade7424a096e54f2ceb69118832f9'
},
body: {
due: '2017-08-31 13:59',
timezone: 'Europe/Amsterdam',
email_to: 'my@email.com',
email_body: 'hello 123',
email_subject: 'hello world',
email_from: 'hello@gmail.com'
}
})
{
"dependencies": {
"request": "^2.81.0",
"request-promise": "^4.2.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment