REST.Client.TRESTRequest.AutoCreateParams

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoCreateParams: Boolean read FAutoCreateParams write SetAutoCreateParams default 1;

C++

__property AutoCreateParams = {default=1};

Properties

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

Description

Indicates whether or not the request should automatically include parameters from the resource URL of the request.

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

Indicates whether or not the request should automatically include parameters from the resource URL of the request.

For example, if the resource URL is "Products/{ProductId}" and AutoCreateParams is True, your request automatically includes a parameter with key "ProductId" and without value, into its list of parameters.

If a parameter already exist with the same name as a parameter key extracted from the resource URL, the parameter from the resource URL is ignored. Existing parameters are never overwritten with the values of parameters extracted from the resource URL.

See Also