Fork me on GitHub
#ring
<
2021-01-24
>
zendevil.eth11:01:08

@dharrigan I’m posting the data like so:

(reg-event-fx
 :upload-shot-video-server
 (fn [coeffects [_ blob]]
   (let [body (js/FormData.)]
     (.append body "video" blob "video.mov")
     (.append body "key" "VAL")
     {:http-xhrio {:method :post
                   :uri (str "" "/api/upload-shot-video")
                   :body body
                   :on-success [:upload-success]
                   :on-failure [:upload-error]
                   :format (json-request-format)
                   :response-format (raw-response-format) #_(edn/edn-response-format)}}))
 )

zendevil.eth11:01:55

yet the multipart params aren’t showing.

zendevil.eth12:01:16

and I’m sending a blob in the multipart data