REST.Client.TCustomRESTClient.AutoCreateParams

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoCreateParams: Boolean read FAutoCreateParams write SetAutoCreateParams default True;

C++

__property bool AutoCreateParams = {read=FAutoCreateParams, write=SetAutoCreateParams, default=1};

Properties

Type Visibility Source Unit Parent
property public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTClient

Description

Indicates whether or not the client should automatically include parameters from the base URL into its request.

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

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

See Also