0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00
cowboy/examples/basic_auth/start.sh

5 lines
216 B
Bash
Raw Normal View History

#!/bin/sh
erl -pa ebin deps/*/ebin -s basic_auth \
-eval "io:format(\"Get 401: curl -i http://localhost:8080~n\")." \
-eval "io:format(\"Get 200: curl -i -u \\\"Alladin:open sesame\\\" http://localhost:8080~n\")."