hello sir,
I have already seen the examples: "example19.cpp",but I am a little confused,I don't know how to post a image by form ,should I use some fix options?
like
formParts.push_back(new curlpp::FormParts::Content("filename", "/home/zsh/test.jpeg"));
and
request.setOpt(new curlpp::options::HttpPost(formParts));
and
request.perform();?
I wonder a specific code.I am not smart,thanks so much!
hello sir, I have already seen the examples: "example19.cpp",but I am a little confused,I don't know how to post a image by form ,should I use some fix options? like formParts.push_back(new curlpp::FormParts::Content("filename", "/home/zsh/test.jpeg")); and request.setOpt(new curlpp::options::HttpPost(formParts)); and request.perform();? I wonder a specific code.I am not smart,thanks so much!