Re: Getting body of HTTP POST in Compojure

2010-12-18 Thread James Reeves
On 19 December 2010 02:58, Miki wrote: >> What's the content-type of the POST? If it's >> "application/x-www-form-urlencoded", then the body stream will be >> automatically parsed into a map of parameters, thus consuming the >> stream. > > The content-type is application/www-form-urlencoded but th

Re: Getting body of HTTP POST in Compojure

2010-12-18 Thread Miki
> What's the content-type of the POST? If it's > "application/x-www-form-urlencoded", then the body stream will be > automatically parsed into a map of parameters, thus consuming the > stream. The content-type is application/www-form-urlencoded but the body is not a form, just a JSON object. Is

Re: Getting body of HTTP POST in Compojure

2010-12-18 Thread James Reeves
What's the content-type of the POST? If it's "application/x-www-form-urlencoded", then the body stream will be automatically parsed into a map of parameters, thus consuming the stream. - James On 19 December 2010 02:30, Miki wrote: > Greetings, > > I'm trying to get the body of HTTP POST in Comp