digitalmars.D.learn - std.net.curl and POST-requests with files
- Vindex (10/10) May 10 2023 The [std.net.curl](https://dlang.org/phobos/std_net_curl.html)
The [std.net.curl](https://dlang.org/phobos/std_net_curl.html) module provides these functions: ```d T[] post(T = char, PostUnit)(const(char)[] url, const(PostUnit)[] postData, HTTP conn = HTTP()) T[] post(T = char)(const(char)[] url, string[string] postDict, HTTP conn = HTTP()) ``` How can I use it if I want to transfer a file with some name? (No problem with regular text.)
May 10 2023