REST.Client.TRESTRequestParameterList.AddUrlSegment
Delphi
procedure AddUrlSegment(const AName, AValue: string);
C++
void __fastcall AddUrlSegment(const System::UnicodeString AName, const System::UnicodeString AValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTRequestParameterList |
Description
Adds the pair value of a new URL segment to the HTTP REST request.
AddUrlSegment calls the AddItem method to add a new URL segment parameter to the HTTP REST request, with the specified name and value pair.
AName
. Name of the URL segment to add to the REST request.AValue
. Value of the URL segment to add to the REST request.
- Note: AddUrlSegment inserts the URL segment to the request only if there is a matching URL token (such as
AccoundId
).