# GetPostQuery Method

## Applies to

TFrameBrowser component

## Declaration

procedure GetPostQuery(const URL, Query: string; IsGet: boolean);

## Description

The GetPostQuery method may be used to initiate loading a document in TFrameBrowser. It is similar to the LoadURL method but also allows the Posting of Form data. The parameters are:

URL, the document to be loaded. It must be a full URL and include the protocol.

Query, the form data to be submitted.

IsGet, True for a Get, False for a Post.

Following the GetPostQuery call, one or more OnGetPostRequest and OnImageRequest events will occur. The user must respond to these events by supplying the requested HTML and images in TMemoryStream form.

See also:

OnGetPostRequest Event

OnImageRequest Event

LoadURL Method