DarkDucke 2 Posted November 12, 2019 I am making a simple request in a url, and I get this error, what can it be? TSslHttpCli 404 can't resolve hostname to IP address httpTeste.RcvdStream := TMemoryStream.Create; httpTeste.URL := 'https://url-to-get/xxxx'; httpTeste.Get; //404 can't resolve hostname to IP address Thanks! Share this post Link to post
Angus Robertson 574 Posted November 12, 2019 Bad URL, nothing more that can said. If you want real help, you need to give us real data. Angus Share this post Link to post
DarkDucke 2 Posted November 12, 2019 58 minutes ago, Angus Robertson said: Bad URL, nothing more that can said. If you want real help, you need to give us real data. Angus Solved! Thanks! Share this post Link to post
FPiette 383 Posted November 13, 2019 On 11/12/2019 at 5:54 PM, DarkDucke said: Solved! Thanks! Would be interesting if you explain what was the real issue. other user will find your message and will be happy with your explanation. Thanks. Share this post Link to post
DarkDucke 2 Posted November 18, 2019 In this case it was a badly formed url. ex: ttps://www.url.com (error) Https://www.url.com (OK) 1 Share this post Link to post