TTMSFNCEdgeWebBrowser.NavigateWithData Method
Navigates to a URI and posts string body data using the given HTTP method.
API unit family: TMSFNCEdgeWebBrowser
Declaring type: TTMSFNCEdgeWebBrowser
Overloads
Overload 1
Navigates to a URI and posts string body data using the given HTTP method.
procedure NavigateWithData(AURI: string; AMethod: string; ABody: string; AHeaders: TStrings = nil); overload; override;
Parameters
| Name | Description |
|---|---|
AURI |
Target URI. |
AMethod |
HTTP method (e.g. POST). |
ABody |
Request body as a string. |
AHeaders |
Optional HTTP headers to include. |
Overload 2
Navigates to a URI and posts stream body data using the given HTTP method.
procedure NavigateWithData(AURI: string; AMethod: string; ABodyStream: TStream; AHeaders: TStrings = nil); overload; override;
Parameters
| Name | Description |
|---|---|
AURI |
Target URI. |
AMethod |
HTTP method (e.g. POST). |
ABodyStream |
Request body as a stream. |
AHeaders |
Optional HTTP headers to include. |