1.0.9 • Published 10 years ago

WasteOfTime v1.0.9

Weekly downloads
9
License
MIT
Repository
github
Last release
10 years ago

Waste Of Time

A service to test stuff with when you need a service that does nothing but responds back after X time has passed.

Setup

change port and host in the config.js defaults are localhost:27998

npm install -g WasteOfTime

wot

REST API

####GET /wot/api/time/seconds/:seconds Responds back with status 200 after N number of seconds.

Params:

seconds(Number): The amount of seconds to waste.


####GET /wot/api/time/minutes/:minutes Responds back with status 200 after N number of minutes.

Params:

minutes(Number): The amount of minutes to waste.


####GET /wot/api/time/hours/:hours Responds back with status 200 after N number of hours.

Params:

hours(Number): The amount of hours to waste.


####GET /wot/api/time/random/ Responds back with status 200 after random amount of seconds have passed. default is between 1-3 seconds.

Optional Query:

min(Number): The min amount of seconds to waste.

max(Number): The max amount of seconds to waste.


License

MIT

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago