Libraries like curl require you to have .dll files when running .exe

In theory you should be able to link those .dll statically to the .exe

But I can't find a way to do that without errors and crashes.

But are there libraries which don't require external .dll files at runtime?
That allow me to do a HTTP request?