Hi 🙂 How do I express the last line when doing the equivalent in clj-http?
curl --location '' \
--header 'Authorization: Bearer redacted' \
--header 'Content-Type: application/json' \
--form 'upload=@"/Users/me/file.txt"' <--------------
I tried the following
:form-params {:upload "/Users/me/file.txt"}
and
:multipart
[{:name "upload"
:file (io/file "/Users/me/file.txt")}]
and
:multipart
[{:name "upload"
:content (io/file "/Users/me/file.txt")}]never mind, the last one worked after I fixed the real problem which was in my header