Hi, I'm just starting with nim (0.10.2), and, at least for me, neither of the basic httpclient examples from the online documentation work for me.
import httpclient
echo(getContent("http://google.com"))
returns a 404, which seems wacky.
The POST example doesn't compile:
import httpclient
var data = newMultipartData()
data["output"] = "soap12"
data["uploaded_file"] = ("test.html", "text/html",
"<html><head></head><body><p>test</p></body></html>")
echo postContent("http://validator.w3.org/check", multipart=data)
throws Error: undeclared identifier: 'newMultipartData' on compile.
I think the POST issue is just a mismatch between the docs and the library actually included in 0.10.2, but the GET issue baffles me.