Web.HTTPApp.TWebRequest.Query

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Query: AnsiString index 3 read GetStringVariable;

C++

__property System::AnsiString Query = {read=GetStringVariable, index=3};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

Indicates the value of the query information (if any) of the URL specified in the HTTP request message.

Read Query to determine the details of a query specified in the URL of the Web client request. For example, given this URL:

http://www.TSite.com/art/gallery.cgi/mammals?animal=dog&color=black

the Query portion is

animal=dog&color=black

Query is the unparsed query portion of the URL. The query may include multiple fields separated by ampersands. Use the QueryFields property to work with the query on a field-by-field basis.

See Also