SimpleServer
A server built to learn HTTP basics in Elixir
Get requests to /hello will return world
Post requests to /post will be printed out to the terminal
Any other requests will receive a 404
Installation
If available in Hex, the package can be installed
by adding simple_server
to your list of dependencies in mix.exs
:
def deps do
[
{:simple_server, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/simple_server.