REST.Client.TCustomRESTResponse.GetSimpleValue
Delphi
function GetSimpleValue(const AName: string; var AValue: string): Boolean;
C++
bool __fastcall GetSimpleValue(const System::UnicodeString AName, System::UnicodeString &AValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTResponse |
Description
This method gets a value of a specified name/value pair and returns True
. If the specified pair does not exist in a response content, this method returns False
.
Note This method applies only to the text/html and application/json content types.