This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-18
Channels
- # announcements (2)
- # aws-lambda (14)
- # babashka (4)
- # beginners (66)
- # clojure (113)
- # clojure-spec (9)
- # clojure-uk (7)
- # clojurescript (24)
- # data-science (12)
- # datomic (45)
- # docker (2)
- # emacs (1)
- # fulcro (48)
- # jobs-discuss (22)
- # kaocha (7)
- # keechma (3)
- # luminus (7)
- # off-topic (7)
- # re-frame (6)
- # shadow-cljs (43)
- # spacemacs (18)
- # tools-deps (2)
- # vim (1)
- # vscode (2)
- # yada (11)
I have basic question about yada
(yada/resource {:produces {:media-type "text/plain"}
:consumes {:media-type "text/plain"}
:methods {:post
{:response (fn [ctx] (:body ctx))}}})
i would like to consume a message of any type…
its a opaque packet for me…
so i do not want to list all the possible types…
really i want to say consumes :media-type "*/*"
but the process request body does a contains match
which results in an “Unsupported Media Type” error
any suggestions on whats wrong with my approach