Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

HTTP_Post

Executing HTTP Post for the selected URL .

PostData can be in PostData param (f.e. as pairs).

NB: In DWS PostData param can be String, f.e. Json etc.

Results of execution can be obtained by HTTP_Body and HTTP_Header.

NB: If Post failed - HTTP_Header will return error message;

PascalScript:

function HTTP_Post(URL : String;PostData : TStringList) : String;

DWS:

function HTTP_Post(URL : String;PostData : String) : String; 
function HTTP_Post(URL : String;PostData : TStringList) : String;

Python

def HTTP_Post(URL, PostData): -> string
where PostData - string