| 184 | } |
| 185 | |
| 186 | void FSecure::Dropbox::DeleteFile(std::string const& filename) |
| 187 | { |
| 188 | std::string url = OBF("https://api.dropboxapi.com/2/files/delete_v2"); |
| 189 | json j; |
| 190 | j[OBF("path")] = filename; |
| 191 | |
| 192 | SendJsonRequest(url, j); |
| 193 | } |
| 194 | |
| 195 | FSecure::ByteVector FSecure::Dropbox::SendHttpRequest(std::string const& host, std::string const& header, std::optional<WinHttp::ContentType> contentType, ByteView data) |
| 196 | { |
nothing calls this directly
no outgoing calls
no test coverage detected