https://github.com/debianmaster/request-scheduler
This is a simple api on top of agenda for scheduling http requests (get and post)
https://github.com/debianmaster/request-scheduler
Last synced: over 1 year ago
JSON representation
This is a simple api on top of agenda for scheduling http requests (get and post)
- Host: GitHub
- URL: https://github.com/debianmaster/request-scheduler
- Owner: debianmaster
- Created: 2015-10-18T06:45:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-19T18:59:33.000Z (over 10 years ago)
- Last Synced: 2025-01-29T14:52:28.088Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# request-scheduler
This is a simple api on top of agenda for scheduling http requests (get and post), smart enough to understand timezones
`git clone https://github.com/debianmaster/request-scheduler.git`
`cd request-scheduler`
`npm install`
`node server.js`
### Testing
make a post request to
`http://localhost:9000/schedule`
```json
{
"method": "GET",
"uri": "http://localhost:8080/ui/outages/yo",
"when":"2015-10-18 12:16",
"timezone" : "Asia/Kolkata"
}
```
Note:
> json format above support (https://github.com/request/request)
> A Running mongodb connection is required (defaults to localhost)