How can I create a HTTP POST request with some URL encoded parameters using Qt 4.6.1?
I figured out that I can create a QNetworkRequest, set all the parameters there
Your solution is almost right. But one should use:
data = params.encodedQuery();
instead of
data.append(params.toString()); data.remove(0,1);
to handle UTF8 strings properly.