benmerckx / monsoon

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

POST? #10

Open software0012 opened 6 years ago

software0012 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.

software0012 commented 6 years ago

Yeah, I figured it out after, thank you ! If you need help for this repo, feel free to contact me sofiane.soufi@mone.ca