Discuss this help topic in SecureBlackbox Forum
Sends the POST request to server.
Declaration
Parameters
Return value
HTTP result code
Description
Use this method to send 'POST' request to server. POST method is used to transfer data to remote resource.
Content parameter (where present) should contain the data to be sent to the server as-is. You can use this parameter to send the pre-formatted form or the stream of data etc.
The variant of the method with only URL parameter lets you stream the data dynamically via OnHTTPDynamicDataNeeded event. Note that not all servers support such streaming.
To POST/PUT several streams you can use TElMultiStream class: create an instance of this class, add the streams to the TElMultiStream object using AddStream method, and pass the instance of TElMultiStream to Post/Put method.
To post the web form data (including file attachments to the form) use PostWebForm method.