Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpprestsdk send file

auto fileStream = fstream::open_istream("file_to_send").get();
auto response = client.request(methods::PUT, "upload-file", fileStream).get();
 
PREVIOUS NEXT
Tagged: #cpprestsdk #send #file
ADD COMMENT
Topic
Name
6+2 =