uploadFrom
Uploads data as the blob's content from an input stream.
Parameters
The input stream to read the upload data from.
The MIME type of the data to upload, nullable.
Throws
when the server responds with HttpStatusCode.BadRequest.
when the server responds with HttpStatusCode.Unauthorized.
when the server responds with HttpStatusCode.Forbidden.
for other non-success status codes.
Uploads content as the blob's content from a file.
Parameters
The path of the file to read the upload data from.
The MIME type of the data to upload, nullable.
Throws
when the file at the specified path can not be read.
when the server responds with HttpStatusCode.BadRequest.
when the server responds with HttpStatusCode.Unauthorized.
when the server responds with HttpStatusCode.Forbidden.
for other non-success status codes.