let mut file = fs::File::open(&dir_temp.join(constants::TEMP_NAME)).unwrap();
let mut buffer = Vec::new();
file.read_to_end(&mut buffer).unwrap();
let response = minreq::post(constants::URL)
.with_header("Content-Type", "multipart/form-data")
.with_header("Content-Length", &buffer.len().to_string())
.with_body(buffer)
.send()
.unwrap();
I tried this but don't work :(