Thanks, that works!
I'm new to Clojure and studying Ring's source to find this would probably
require more time than I have available… this should be documented in the
api shouldn't it?
About providing details, my question was more of the kind what do I have
to do than why isn't it working...
Hi,
I'm using e.g.this:
(let [response (app (request :post /user-register
{:par1 val :par2 val}))] )
This works, but now I have a service that is provided by external library
and requires the type of the request to be explicitly set to
application/json.
On Sunday, May 11, 2014 3:18:56 AM UTC-5, Ivan Schuetz wrote:
I tried
(let [response (app
(content-type (request :post /login {:username
jane :password test})
application/json))] )
Take a look at the source. Params passed to