You have already sent the request. You should use the QUrl::encodedQuery() as the POST payload. The result of toString() will not be encoded.
To receive any response you need to connect slots you write to the signals of the QNetworkReply or the QNetworkAccessManager. It is all in the docs and numerous network examples (examples-network)




Reply With Quote

Bookmarks