fixes clj-http-lite example in README (#226)
This commit is contained in:
parent
c383051194
commit
6633d8b674
1 changed files with 1 additions and 1 deletions
|
|
@ -604,7 +604,7 @@ babashka. Requires `bb` >= v0.0.58.
|
||||||
This fork does not depend on any other libraries. Example:
|
This fork does not depend on any other libraries. Example:
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
$ export BABASHKA_CLASSPATH="$(clojure -Sdeps '{:deps {limit-break {:git/url "https://github.com/borkdude/clj-http-lite" :sha "f44ebe45446f0f44f2b73761d102af3da6d0a13e"}}}' -Spath)"
|
$ export BABASHKA_CLASSPATH="$(clojure -Sdeps '{:deps {clj-http-lite {:git/url "https://github.com/borkdude/clj-http-lite" :sha "f44ebe45446f0f44f2b73761d102af3da6d0a13e"}}}' -Spath)"
|
||||||
|
|
||||||
$ bb "(require '[clj-http.lite.client :as client]) (:status (client/get \"https://www.clojure.org\"))"
|
$ bb "(require '[clj-http.lite.client :as client]) (:status (client/get \"https://www.clojure.org\"))"
|
||||||
200
|
200
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue