REST.Client.TRESTClient.AutoCreateParams
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 | TRESTClient |
Description
Indicates whether or not the client should automatically include parameters from the base URL into its request. {{#multireplace:REST.Client.TRESTClient.AutoCreateParams|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:REST.Client.TCustomRESTClient.AutoCreateParams|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:REST.Client.TCustomRESTClient.AutoCreateParams|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.