Welcome to the Sleep API

Sometimes you just need to ask a server to do nothing for you.

This is little utility API for use when testing asynchronous code, or if you're learning about HTTP, or for any other reason.

Usage:

$ curl https://sleep-api.joelsleppy.com/sleep?seconds=2.7
{"duration": 2.7}