/hello-dotnet

Hello world asp.net application

Primary LanguageC#Apache License 2.0Apache-2.0

hello-dotnet

Hello world asp.net application

Documentation

This is going to be short and sweet

Environment variables

Environment variable Description Default
SHUTDOWN_TIMEOUT Number of seconds the server will wait for requests to complete before shutting down 5

Rest API

Hello

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