Allow the webserver to respond to either POST or GET requests.
Define to_string() for the cygwin environment.