Hello world asp.net application
This is going to be short and sweet
Environment variable | Description | Default |
---|---|---|
SHUTDOWN_TIMEOUT | Number of seconds the server will wait for requests to complete before shutting down | 5 |
Returns a simple hello message
-
URL
/hello
-
URL params
Optional
sleep=[integer]
Number of seconds the server should sleep befor returning an answere. Default: 0
-
Examples
Request that returns immediately
curl -X GET http://example.local/hello
_Request that returns after waiting 10 seconds
curl -X GET http://example.local/hello?sleep=10