dougblack / sleepy

rest for go
675 stars 56 forks source link

Allow JSON in request #30

Open timjacobi opened 8 years ago

timjacobi commented 8 years ago

Hi there,

cool, idiomatic framework! I tried to understand how you could possibly send some JSON in the request body and work with it in the handlers. It looks like this is not possible because only request.Form is passed to the handler (see here). Is this intentional? Would love to hear your thoughts on it.