benmerckx / monsoon

Minimal haxe web framework and embedded webserver
52 stars 8 forks source link

POST? #10

Closed softhedev closed 5 days ago

softhedev commented 6 years ago

Hello,

Is there anyway we can get the POST body parameters ? It doesn't seems to be done :/

Thank you.

benmerckx commented 6 years ago

There's some backstory in #5, but I as you noticed I did not get round to handling post data. The raw body is available in request.body and needs to read and parsed. Depending on your content-type you could use tink_querystring or tink_multipart to do the latter.