Fork me on GitHub
#reitit
<
2020-05-24
>
vale11:05:14

hmm never mind i couldn't reproduce once i re-forked reitit from current master

vale11:05:25

i guess whatever i had locally was pathetically out of date

r.hamers15:05:55

is there a reitit mocking library available similar to: https://github.com/ring-clojure/ring-mock ?

valtteri17:05:12

You can use ring-mock with reitit. 🙂

r.hamers03:05:21

👍 thx ill give it a try

franklineapiyo19:05:25

I'm looking for documentation/example on uploading files to a server using reitit and ring... please point me to the direction of such a resource if you know of any, thanks

franklineapiyo19:05:02

I've spent hours trying to figure out how to do this one thing, I really need help

franklineapiyo19:05:36

you could even point me to what documentation I should read 😢

admin05508:05:06

> A common question has been how do you download/upload a file with reitit?. Answer is that reitit-ring is fully compatible with Ring, so anything you can do with Ring, you can do with reitit-ring. To make things easier, we decided to lift some common ring middleware into data-driven middleware intoduced by reitit. You can check the "reitit-middleware" part on this Metosin article: https://www.metosin.fi/blog/reitit020/ This is exactly what you want.

franklineapiyo12:05:15

sweet! thanks.. will check it out 😃