This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-09
Channels
- # announcements (4)
- # beginners (71)
- # boot (258)
- # braid-chat (7)
- # business (3)
- # cider (5)
- # cljs-dev (5)
- # cljsrn (64)
- # clojure (154)
- # clojure-canada (1)
- # clojure-poland (112)
- # clojure-russia (290)
- # clojurebridge (1)
- # clojurescript (60)
- # community-development (1)
- # core-async (25)
- # cursive (9)
- # data-science (1)
- # datomic (40)
- # editors (14)
- # events (2)
- # hoplon (2)
- # jobs (3)
- # ldnclj (51)
- # lein-figwheel (2)
- # luminus (1)
- # off-topic (5)
- # om (57)
- # onyx (29)
- # overtone (1)
- # parinfer (52)
- # portland-or (1)
- # proton (17)
- # quil (2)
- # re-frame (77)
- # reagent (1)
- # ring-swagger (20)
- # spacemacs (1)
- # test-check (4)
- # testing (13)
- # yada (1)
I have a question about defining an endpoint for file downloads - what kind of :return
type should I use for binary downloads?
Setting any :return
will enable output coercion which is not wanted in such case
Hey, I'm having a heck of a time exposing an "application/edn" endpoint with compojure-api 0.24.5, I keep getting a nil body which then fails schema validation
I'm trying to develop a minimal example, but are there any outstanding issues around EDN parsing?
@timgilbert hi, dont know of any issues.
Thanks @ikitommi... So far the minimal samples I've worked up all work correctly, so I think the problem is somewhere in my application code. I'll dig around some more and let you know if I can find something reproducable
ok. just tested with the template project, works ok:
curl -X POST --header 'Content-Type: application/edn' --header 'Accept: application/edn' -d '{:name "string", :description "string", :size :L, :origin {:country :PO, :city "string"}}' ''
{:name "string", :description "string", :size :L, :origin {:country :PO, :city "string”}}
same as in transit, we should bundle with a set of readers & writers that cover all the common classes.
waiting to finalize the web-schemas some day, would do just that (https://github.com/metosin/web-schemas)
Cool, thanks for the sugestions