Joke Collection Website - Blessing messages - How does c++ call Http short message interface?

How does c++ call Http short message interface?

1, first, we open a session to get the handle of the HINTERNET session;

2, and then we use this session handle to connect to the server to get a hinterconnect handle;

3. Then we use this connection handle to open the Http request and get a handle to the HINTERNET request.

4. Then we can use this request handle to send data and read the data returned by the server.

5. Finally, close the handle of the request, connection and session in turn.