API:REST.Client.TRESTRequest.Resource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Resource;

C++

__property Resource = {default=0};

Properties

Type Visibility Source Unit Parent
property published
REST.Client.pas
REST.Client.hpp
REST.Client TRESTRequest

Description

This property is added to the base URL to establish a complete URL for the HTTP request.

REST.Client.TRESTRequest.Resource inherits from REST.Client.TCustomRESTRequest.Resource. All content below this line refers to REST.Client.TCustomRESTRequest.Resource.

This property is added to the base URL to establish a complete URL for the HTTP request.

Important: The Resource value should meet the following limitations:
  • Does not include the scheme or domain mame.
  • Does not include the leading slash.

If you are accessing an EMS resource, the Resource property must contain the resource name of the target resource.

See Also