Created
May 14, 2020 22:35
-
-
Save ryangjchandler/f3f79732a7ad93069d645dc104976f9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "http" exposing HttpServer, Request, Response | |
function main() { | |
HttpServer.get("/", func (req Request, res Response) => { | |
return res.Send("Hello!") | |
}) | |
HttpServer.listen(8080) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment