This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-24
Channels
- # announcements (2)
- # babashka (31)
- # beginners (608)
- # cider (60)
- # clj-kondo (22)
- # cljsrn (28)
- # clojure (14)
- # clojure-europe (5)
- # clojure-nl (3)
- # clojure-spec (1)
- # clojure-uk (19)
- # clojurescript (38)
- # conjure (20)
- # cursive (9)
- # data-science (26)
- # datascript (4)
- # datomic (19)
- # duct (4)
- # emacs (8)
- # figwheel-main (5)
- # fulcro (7)
- # helix (15)
- # leiningen (12)
- # malli (2)
- # off-topic (20)
- # overtone (3)
- # pathom (14)
- # pedestal (10)
- # re-frame (2)
- # reitit (13)
- # ring (13)
- # shadow-cljs (18)
- # spacemacs (8)
is there a reitit mocking library available similar to: https://github.com/ring-clojure/ring-mock ?
:thumbsup: thx ill give it a try
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
Maybe this part of Luminus doc can help: https://luminusweb.com/docs/routes.html#handling_file_uploads
have you seen the ring wiki? https://github.com/ring-clojure/ring/wiki/File-Uploads
> 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.
Maybe this part of Luminus doc can help: https://luminusweb.com/docs/routes.html#handling_file_uploads