I'm trying to GET the following URL in Delphi using TIdHTTO
but it fails:
https://api.sketchengine.eu/bonito/run.cgi/wsketch?lemma=上海&username=agofpos&api_key=ce39ab3f07544e759b068338ac1974e2&corpname=preloaded/zhtenten17_simplified_stf2&format=json
Using POSTMAN is OK, though.
Here is my code:
url := 'https://api.sketchengine.eu/bonito/run.cgi/wsketch?lemma=上海&username=agofpos&api_key=ce39ab3f07544e759b068338ac1974e2&corpname=preloaded/zhtenten17_simplified_stf2&format=json';
memoResult.Text := idHttp.Get(url);
Do we need special handling when dealing with non-English characters during GET? If so, how?
I'm using Delphi 10.2, if that helps.