Skip to content

Instantly share code, notes, and snippets.

@sabarasaba
Created Aug 31, 2017
Embed
What would you like to do?
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