Created
August 31, 2017 10:30
-
-
Save sabarasaba/1fc04d4e7ebf46bddcb749cf42771abb to your computer and use it in GitHub Desktop.
reminders testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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