More Improvements
More on cURLpp I talked about cURLpp in my last post. There’s much more to it than just uploading files to Google Drive endpoints. A few things I discovered is :- curlpp::infos This allows certain response info to be obtained directly. There are a list of info obtained, which can be referred from “curlpp/include/Infos.hpp”. A more useful one would be ResponseCode, which is great to have. After request.perform(), long responseCode; curlpp::infos::ResponseCode::get(req,responseCode); and you can use the responseCode as you please. WriteStream There Read more