Browse files

document accepting a string for :basic-auth

  • Loading branch information...
1 parent 283c869 commit b7d5854ca90c4c47b8da9917d988de4052971dad @dakrone dakrone committed Nov 4, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Readme.md
View
1 Readme.md
@@ -40,6 +40,7 @@ More example requests:
(client/post "http://site.com/resources" {:body "string"})
(client/get "http://site.com/protected" {:basic-auth ["user" "pass"]})
+(client/get "http://site.com/protected" {:basic-auth "user:pass"})
(client/get "http://site.com/search" {:query-params {"q" "foo, bar"}})

0 comments on commit b7d5854

Please sign in to comment.