Skip to main content

Clojure REST-REPL

While tools like httpie give you a nice way to query web APIs, they only give you the means to query data easily and print the results nicely. Once you need to modify the results or need to drill down on them, you are on your own.

Therefor I wrote my own tool - REST REPL. It starts a Clojure REPL with some state handling (imagine cd from the shell), preloaded libraries, that make your live easier (clj-http, specter, clojure.data.xml, cheshire) and make it pretty print (with colors) the results using puget.

Since this is a (close to) regular Clojure REPL, you can handle the data as you are used too and you can place reoccurring code into functions.