Build
rebar3 escriptize
Run
_build/default/bin/httpl
Dev
rebar3 escriptize
_build/default/bin/httpl
Request
curl -X GET 'http://localhost:8008'
curl -X GET 'http://localhost:8008/ping'
curl -X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "field1=value1&field2=value2&field3=value3" \
http://localhost:8008/form
curl -X POST \
-F "field1=value1" \
-F "field2=value2" \
http://localhost:8008/form
cd web
php -S localhost:80 -t .