Web.HTTPApp.TWebRequest.URL

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property URL: string index 2 read GetStringVariable;

C++

__property System::UnicodeString URL = {read=GetStringVariable, index=2};

Properties

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

Description

Reports the Uniform Resource Identifier (URI) specified by the HTTP request message to identify the target of the request.

Use the URL property to identify the resource the Web client identifies as the target of the request message. URL may be an HTML page to return, a resource to be created or deleted, or an object that provides some other service for the Web client.

The TWebRequest object parses the URL into its constituent parts, yielding the Host, ScriptName, PathInfo, and Query properties.

Note: Usually the URL property is a Uniform Resource Locator (URL) that can be parsed into host, script, path, and query portions. However, it is possible for HTTP request messages to specify the target in more general terms, as a Uniform Resource Identifier (URI).

See Also