Fork me on GitHub
#re-frame
<
2017-12-07
>
tungsten20:12:22

does anyone have experience returning the results of a raw HTTP post request to the user? I want to hit a API that will generate a binary blob to be returned to the user in a new window (jpeg/pdf/etc)

danielcompton20:12:10

@bfast I think you can do that with re-frame-http-fx, you need to set the response format to raw or similar

danielcompton20:12:15

cljs-ajax docs explain it

tungsten20:12:06

thanks... i guess ill have to mess with javascript interop to propogate it up to the user

joelsanchez21:12:58

any way to inject a cofx in a subscription?