clj -Sdeps '{:deps {clj-http {:mvn/version "3.9.1"}}}'

(require '[clj-http.client :as http])

(http/get "https://httpbin.org/get"
          {:query-params {:foo "bar"}
           :as :json})

(http/post "https://httpbin.org/post"
           {:form-params {:foo "bar"}
            :as :json})

(http/post "https://httpbin.org/post"
           {:body "{\"foo\": \"bar\"}"
            :content-type :json
            :as :json})