cljs-http icon indicating copy to clipboard operation
cljs-http copied to clipboard

A ClojureScript HTTP library.

Results 30 cljs-http issues
Sort by recently updated
recently updated
newest added

I have a use-case like this: I need to talk JSON but there are keys in the third-party JSON payloads which are not keywordizable. Currently (I think) this means that...

I was having an issue passing a map to multipart params in which the server would reject the request as invalid when the code was run in certain contexts, but...

This library looks awesome, but with the luck of Wiki it's very difficult to understand how to use it (I'm referring to the more complex features, such as custom middleware,...

Are there any plans to add support for file uploading? Maybe could be supported using [FormData](https://developer.mozilla.org/en-US/docs/Web/Guide/Using_FormData_Objects) and with an API like ``` (http/post "http://example.com" {:form-data-params (js/FormData. some-form-element)}) ```

`cljs-http.core/request` currently creates a new channel for each on-going request then closes it. Do you think it's sensible to pass a channel as an optional argumnent to the function?

I need to talk to an API that expects "xBasic" instead of "Basic" authentication, but is otherwise the same as basic authentication. What is the recommended way to add support...

Clj-http supports custom middlewares (e.g. to be able to set default headers for all the requests), it would be nice if cljs-http would support it as well.

It took me a while to realise that the abort function here https://github.com/r0man/cljs-http/blob/master/src/cljs_http/core.cljs#L9 is not compatible with channels generated by `client/request` and friends (due to the response wrappers? https://github.com/r0man/cljs-http/blob/master/src/cljs_http/client.cljs#L97; since...

if a query is issued from Chrome on an android device, every request gets an &android= param appended to the called url. browsing the code i see it's a feature...

I'm trying to send a GET request something like `http://example.com/articleUrl/http%3A%2F%2Fwww.wiscnews.com%2Fsports%2Farticle_c8b5102a-c30a-5906-86a1-2ffef91f858f.html/` but the actual request sent keeps getting decoded somehow. Any pointer as to where to unit test this in cljs-http...