Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team ,
I am trying to retrive data from API using TRest, Client.
The URL contains Criteria to filter out records as mentioned example,
When I encode the filter criteria, the result is not recognized by the API, and.it retrives all records.
If not encoded tRest components errors out as illegal character. Let me know, if any once faced these issue.
URL :https:WEbportal.comort/xyz/facts?tkn=111;criteria=={"and":[["valid_to","=",'2020-12-31T23:59:59Z'],{"or":[["name","=",'java.exe'],["name","=",'android']]}]};countSwitch=3
It still states the same error, Caused by: java.net.URISyntaxException: Illegal character in query at index 127: