Hi Christian, thank you for your reply. It seems to me that the problem is
that post_iterator works only for data submitted by HTML forms and not for
custom POST data. For example, if I send a request with Content-Type
application/json to the post_example.c I get:

Failed to setup post processor for `/2'
Internal application error, closing connection.

If i set the Content-Type to x-www-form-urlencoded it works but still tries
to parse it as key-value pairs, which in my case it shouldn't. I am looking
for a way to directly access the data submitted by post, regardles of the
Content-Type.

Regards,
Matej

Reply via email to