Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am consuming a rest webservice that uses ODATA queries. I use the TRestClient for this purpose.
With query parameter I would like to call the webservice.
The parameter looks like
Name Value
$expand "personalia($expand=*),homeAddress($expand=*),contactInformation($expand=*),contracts($expand=*)"
The input afte the "," is not seen bij the call of the webservice. So, only $expand "personalia($expand=*)" works fine, but "personalia($expand=*),homeAddress($expand=*),contactInformation($expand=*),contracts($expand=*)" does not work.
Does anyone has an idea? Do i have to escape the "," with a "/" ?
found it: escape , with 2c%
"personalia($expand=*)%2ChomeAddress($expand=*)%2CcontactInformation($expand=*)%2Ccontracts($expand=*)"
found it: escape , with 2c%
"personalia($expand=*)%2ChomeAddress($expand=*)%2CcontactInformation($expand=*)%2Ccontracts($expand=*)"