blob: 9e8a30b95d49c2a21978ec6bb6b2d88dc8e49b30 (
plain) (
blame)
1
2
3
4
|
#!/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\")."
|