TTMSFNCWebBrowser.NavigateWithData Method
Navigates to a URI using a custom HTTP method and a string body.
API unit family: TMSFNCWebBrowser
Declaring type: TTMSFNCWebBrowser
Overloads
Overload 1
Navigates to a URI using a custom HTTP method and a string body.
procedure NavigateWithData(AURI: string; AMethod: string; ABody: string; AHeaders: TStrings = nil); overload; override;
Parameters
| Name | Description |
|---|---|
AURI |
Target URL. |
AMethod |
HTTP method, for example POST. |
ABody |
Request body as a string. |
AHeaders |
Optional additional HTTP headers; each item is a Name: Value string. |
Overload 2
Navigates to a URI using a custom HTTP method and a stream body.
procedure NavigateWithData(AURI: string; AMethod: string; ABodyStream: TStream; AHeaders: TStrings = nil); overload; override;
Parameters
| Name | Description |
|---|---|
AURI |
Target URL. |
AMethod |
HTTP method, for example POST. |
ABodyStream |
Request body as a stream. |
AHeaders |
Optional additional HTTP headers; each item is a Name: Value string. |