I want to capture that text in a variable, but the upload function returns void. How can I get the text returned by the web server to be stored in a variable?
import std;
auto updata = read("inputfile");
auto dldata = put("https://postman-echo.com/put", updata);
writeln(dldata);
