cljs-ajax
cljs-ajax copied to clipboard
simple asynchronous Ajax client for ClojureScript and Clojure
See https://github.com/JulianBirch/cljs-ajax/issues/247#issuecomment-1067084366
This hasn't been fully investigated but a) it would future proof cljs-ajax and b) it would solve the ReactNative problem. Cross-reference #141
On Clojurians Slack, people ask things like "why my `"Content-Type"` is ignored" once every month or two, or at least it feels that way. I myself have had some issues...
How do I get the response headers from a raw response? I've tried looking at the `headers` object in the response XhrIo object, but its `map_` and `keys_` are empty.
I’m sending a post request with qualified keywords like so: ``` :http-xhrio {:method :post :uri "/the-uri" :params {:user/foo 1 :user/bar 1} :on-success [:foo] :on-failure [:bar] :response-format (edn/edn-response-format) :format (edn/edn-request-format) }...
When the server responds with no content, while using ring-response-format, a nil result is passed to `:handler` instead of a map with `:status`, `:headers`, `:body` keys. This happens when talking...
Hi, I am using cljs-ajax on a CLJ-project. I am requesting something from an API and it should return a 307 temporary redirect. The redirect location does return a url...
In the README it says that file uploads aren't supported. On the other hand, in issue #122 the OP successfully uploads a file to the server. Why does the readme...
The following call ``` (DELETE "http://localhost:3000" {:format (json-request-format)}) ``` makes an http DELETE request with the request-body `null` and `Content-Length` 4 even if no `:params` are specified. This is problematic...