Function harmony_rust_sdk::client::api::rest::upload_extract_id [−][src]
pub async fn upload_extract_id(
client: &Client,
filename: String,
content_type: String,
data: Vec<u8>
) -> ClientResult<String>
Uploads a file and then extracts the file ID from the returned response.
Also see upload()
.