Mirror of
forum.nim-lang.org
index
8702 :: How can I download files from the Internet with Nim?
[2021-12-11T23:26:46+01:00]
View Orginal
luqaska
(orginal)
[2021-12-11T23:26:46+01:00]
view original
Hello, is there any way I can do this without the intervention of an external program like Curl. I tried searching for a solution and I couldn't found anything...
Yardanico
(orginal)
[2021-12-11T23:27:29+01:00]
view original
Check out the httpclient module, it has a lot of stuff that deals with HTTP :) Specifically
https://nim-lang.org/docs/httpclient.html#downloadFile%2CHttpClient%2C%2Cstring
luqaska
(orginal)
[2021-12-11T23:37:57+01:00]
view original
Thank you!!!