[]
        
(Showing Draft Content)

C1.Web.Api.Storage.StorageController.UploadFile

UploadFile Method

UploadFile(string, UploadRequest, string)

Uploads file with the specified path.

Declaration
[HttpPut]
[HttpPost]
[Route("api/storage/{*path}")]
public IActionResult UploadFile(string path, UploadRequest re, string subpath = null)
<HttpPut>
<HttpPost>
<Route("api/storage/{*path}")>
Public Function UploadFile(path As String, re As UploadRequest, Optional subpath As String = Nothing) As IActionResult
Parameters
Type Name Description
string path

The path which the uploaded file is put.

UploadRequest re

The upload request.

string subpath

The file name

Returns
Type Description
IActionResult

The result.