api-poller
v2.1.0
Published
Longpoll the API and log responses to disk
Downloads
14
Readme
API Poller
Longpoll an API and log responses to disk
Setup
npm install
npm run buildOncefor continous builds use
npm run buildConfiguration
Create a config.json according to following scheme:
{
"host": "",
"port": 0,
"paths": [
"/a", "/b"
],
"resultsFolder": ""
}Run
npm run start <path to config.json> <duration in seconds>