cljs-http
cljs-http copied to clipboard
A ClojureScript HTTP library.
When I do a GET of, e.g., a JPEG, it seems that the `:body` of the response gets mangled when it is converted to a string. How do I get...
Is there a way to capture unsuccessful http requests? I.e. 500 status codes. It would be great to see the response body for 500 requests as to debug errors. Right...
When I use the following request in google chrome, it shows me the payload that was sent correctly ``` clj (http/post (str host "/profiles/search") {:with-credentials? false :accept "application/edn" :edn-params {:query...
Hi, I'm trying to run the unit tests but phantomjs crashes before completing. Strangely the tests pass on travis (https://travis-ci.org/r0man/cljs-http) Do these tests pass on your local system? Any ideas...
It would be really helpful to have the ability to inspect a request before it gets sent out. The use case I have in mind is to verify that the...
My response is in transit json and I need to convert it to edn. cljs-http automatically converts the json into a cljs object. So for the moment, I am doing:...
``` (go (let [response (
Hi, is there a way to get the upload of a file upload?
I'm working on two other versions of cljs-http that work on Nodejs and ArangoDB/Foxx. Of course it's fine to just refer to some vars in `cljs-http.client`. But do you think...
Ran into this issue when setting the csrf-token as well as x-requested-with as default headers. To reproduce: ``` (def default-headers [["X-Requested-With" "xmlhttprequest"] ["X-Csrf-Token" (csrf-token)]]) (cljs-http.core/request {:method get :url "/page" :default-headers...