you can simply add HTTP basic auth support by adding the following to the application controller
before_filter :http_basic_authenticate def http_basic_authenticate authenticate_or_request_with_http_basic do |username, password| username == "1username" && password == "password1" end end
then try
curl http:
source share