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
One approach is to remove that interceptor