Commit c79a5dd0 by Paweł Wegner

Dropbox: user create_folder_v2.

parent 2ee0376e
......@@ -163,7 +163,8 @@ IHttpRequest::Pointer Dropbox::deleteItemRequest(
IHttpRequest::Pointer Dropbox::createDirectoryRequest(
const IItem& item, const std::string& name, std::ostream& input) const {
auto request = http()->create(endpoint() + "/2/files/create_folder", "POST");
auto request =
http()->create(endpoint() + "/2/files/create_folder_v2", "POST");
request->setHeaderParameter("Content-Type", "application/json");
Json::Value parameter;
parameter["path"] = + "/" + name;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment