Discuss this help topic in SecureBlackbox Forum
HTTPS: Perform a simple POST request
With TElHTTPSClient.Post() method you can post simple data. The variants of the method accept strings, byte arrays or data streams to be sent as a payload.
If you need to post web form contents, use TElHTTPSClient.PostWebForm() method instead as described in the corresponding how-to article.
Examples:
C#:
TElHTTPSClient c = new TElHTTPSClient();
c.Post(@"http://target.url", "text_to_send");
Delphi:
var client : TElHTTPSClient;
...
client := new TElHTTPSClient.Create(nil);
client.Post('http://target.url', 'text_to_send');