ring-clojure / ring-json

Ring middleware for handling JSON
313 stars 47 forks source link

Getting an input stream instead of a map #38

Closed hmgibson23 closed 9 years ago

hmgibson23 commented 9 years ago

I might be missing something but with wrap-json-body {keywords? true} I'm getting an HttpInputStream rather than a map.

Not sure what I'm doing wrong here.

weavejester commented 9 years ago

Is the Content-Type header of the request correct?

hmgibson23 commented 9 years ago

Yes

hmgibson23 commented 9 years ago

Okay I figured it out.