REST.Client.TCustomRESTRequest.GetFullRequestURL

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetFullRequestURL(AIncludeParams: Boolean = True): string;

C++

System::UnicodeString __fastcall GetFullRequestURL(bool AIncludeParams = true);

Properties

Type Visibility Source Unit Parent
function public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTRequest

Description

Returns the URL of this HTTP request.

The returned URL depends on the AIncludeParams parameter value in the following way:

  • True--the URL includes the placeholders and all query parameters, such as "http://API.myserver.com/myscript.xml?params1=a&params2=b".
  • False--the URL includes only a base URL and resource, such as "http://API.myserver.com/myscript.xml".

See Also