ahmadnassri/httpsnippet

View on GitHub
src/targets/clojure/clj_http/fixtures/application-json.clj

Summary

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

(client/post "http://mockbin.com/har" {:content-type :json
                                       :form-params {:number 1
                                                     :string "f\"oo"
                                                     :arr [1 2 3]
                                                     :nested {:a "b"}
                                                     :arr_mix [1 "a" {:arr_mix_nested {}}]
                                                     :boolean false}})