Table of Contents

ITMSFNCCustomWebBrowserEx.NavigateWithData Method

Navigates to a URI using the specified HTTP method, a string body, and optional request headers.

API unit family: TMSFNCWebBrowser Declaring type: ITMSFNCCustomWebBrowserEx

Overloads

Overload 1

Navigates to a URI using the specified HTTP method, a string body, and optional request headers.

procedure NavigateWithData(AURI: string; AMethod: string; ABody: string; AHeaders: TStrings = nil); overload;

Parameters

Name Description
AURI Target URI for the request.
AMethod HTTP method, for example POST or PUT.
ABody Request body as a plain string.
AHeaders Optional list of additional HTTP request headers; pass nil to send none.

Overload 2

Navigates to a URI using the specified HTTP method, a stream body, and optional request headers.

procedure NavigateWithData(AURI: string; AMethod: string; ABodyStream: TStream; AHeaders: TStrings = nil); overload;

Parameters

Name Description
AURI Target URI for the request.
AMethod HTTP method, for example POST or PUT.
ABodyStream Request body as a stream.
AHeaders Optional list of additional HTTP request headers; pass nil to send none.