basic web hosting of a html using erlang and also works as sample REST API
curl -i "http://localhost:8081/ping"
curl -i "http://localhost:8081/info"
curl -H "Content-Type: application/json" -X POST -d '{"question":"what is my name?","authorid":"12345"}' http://localhost:8081/post
curl -i "http://localhost:8081/id/123456/?echo=echomeplz"
curl -H "Content-Type: application/json" -X POST -d '{"question":"what is my name?","authorid":"12345"}' http://localhost:8081/req