Stiffstream / restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.15k stars 93 forks source link

Anyway to parse POST BODY? #78

Closed zhangzq closed 4 years ago

zhangzq commented 4 years ago

I'm looking for utility to parse body of post request, but found nothing in document.

eao197 commented 4 years ago

Content of POST's body depends on content-type HTTP-field. Different types of data have different representations.

If you're speaking about parsing the content of HTML form in POST's body then it depends on the value of content-type as described here:

eao197 commented 4 years ago

@zhangzq Can this issue be closed?