Clojure HTTP client using only java.net
[com.github.paytonward6/http-tool "0.1.1"]
com.github.paytonward6/http-tool {:mvn/version "0.1.1"}
implementation("com.github.paytonward6:http-tool:0.1.1")
(require '[http-tool.client :as http])
(def response (http/get-url "https://google.com"))
;; Returns a hash map of:
;;
;; {:body "..."
;; :url "https://google.com"
;; :status 200
;; :headers {:status 200 :content-type "text/html; charset=ISO-8859-1" ...}
;; :version 2}
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close