cljs-http
cljs-http copied to clipboard
A ClojureScript HTTP library.
I use the cljs-http in chrome extension, it's version "0.1.46" . but i get this error: ```clojure (go (let [response (
When using Clojure/Script 1.11, you will get function redefinition warnings because `cljs-http` depends on `noencore`, which defines `parse-long` and `parse-double` functions which are now included in `clojure.core`. ``` ------ WARNING...
Do you plan to support node.js?
Suitable for e.g. arraybuffers requests. Takes standard values, as in goog.net.XhrIo.ResponseType Example: ``` clojure (http/get "http://example.com/some-binary-api" {:with-credentials? false :response-type "arraybuffer"}) ``` Defaults to "" In the returned map, adds :response-type...
Not sure if I am not using it correctly or this is a bug. When I write this simple program ``` (def c (async/chan)) (go (while true (prn (async/! c...
I make a request like so using clj-http.client ``` (http/get "https://www.example.com/bar") ``` and get a response with status 200. However, when I make the same request with cljs-http.client like so:...
@r0man — thank you for this wonderful library. I've been using it for 2+ years. I recently switched an app from figwheel to shadow-cljs, and now `jsonp` fails. Maybe because...
Often when I'm trying to use this library, I need to read the code to figure out how the `request` function works as well as manually inspecting the return values...
According to README: ````Clojure (let [progress-channel (async/chan)] (http/post "http://example.com" {:multipart-params [["key1" "value1"] ["my-file" my-file]] :progress progress-chan})) ```` :progress progress-chan should be :progress progress-channel, shouldn't it?
I am calling `(http/get "http://api.icndb.com/jokes/22")` which interestingly delivers a php error message, but with a header including content-type application/json and status 200. Of course it is a server issue, but...