dakrone / clj-http

An idiomatic clojure http client wrapping the apache client. Officially supported version.
http://clojars.org/clj-http
MIT License
1.78k stars 408 forks source link

Multi files in multipart #566

Closed jherrlin closed 3 years ago

jherrlin commented 3 years ago

I want to do something like this:

curl 'https://my-server.se/upload' \
  -X POST \
  -F files[]=@/home/john/Downloads/invoice.pdf 

The collection in files is the important part here. Can I do this with clj-http?