I've found myself copying ad-hoc helper functions to deal with REST calls from project to project.
So I decided to make a library.
Goals:
clj-http
code that keeps appearing with 90% of all API callsThe design is a single-purpose library that generates clj-http
request maps.
The clj-http
library already offers a quality solution for http client needs, with complex features (like cookie handling, caching, etc..).
If we wrapped that, then we'd need to come up with a solution how to customize the underlying client.
Instead of stacking libraries vertically we stack them horizontally. Output of clj-rest-client
's functions
can be piped into clj-http
. This also affords a wealth of options such as:
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close