REST.Client.TRESTRequestParameterList.CreateGetParamsFromUrl
Delphi
procedure CreateGetParamsFromUrl(const AUrlPath: string);
C++
void __fastcall CreateGetParamsFromUrl(const System::UnicodeString AUrlPath);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTRequestParameterList |
Description
Creates GET HTTP parameters from a URL.
CreateGetParamsFromUrl extracts all the parameters that the URL (AUrlPath
) contains, and adds a new item (name and value pair) to the URL parameter request.
Note: A REST URL can have parameters in two ways:
- As part of the URI: /api/resource/parametervalue
- As an argument of an absolute path: /api/resource?parameter=value