Hello. Please advise how in QT to wait and process a get request from a browser like http: // host: port & param = value Important! You just need to accept the request and answer with POST, not send GET and wait for POST, as in QNetworkAccessManager . I would like to not manually parse the http request, but get the data already in Qt-konainer. Please simply advise options on how to correctly implement it. It’s possible not to go into the details of QT itself ... I’m drowning something ... Or I’m undermining ... Thanks to everyone who responded.

  • for starters, in HTTP there are GET requests , POST requests (as well as others) and server responses (which are essentially no different for GET and POST), so the phrase “accept the request and answer POST, but not send GET and waiting for POST "sounds rather absurd ... On the issue in the kuit itself, the implementation of the HTTP server, of course, no ... from third-party projects of the okoclo-Qt's biota on the first page of one search engine this and several projects come out here - Fat -Zer 6:38 pm
  • Thanks for the tips. here, actually, my question and answers confirming that there are no simple means in Qt to implement such a question. You still need to do a project, you still need to sort all the headers manually ... Well then, TcpServer / TcpSocket is our everything here ... - Aleksey
  • By the way, the initially required functionality is made on QWebServer / Socket, and works well together with the client Qt-application. Compact and without problems. But there were access problems from firefox according to the http: / / host: port / scheme. Something is missing ... It was decided to look in the direction of QTcpServer, but I could not keep a dozen lines ... - Alexey

0