[]
Uploads file with the specified path.
[HttpPut]
[HttpPost]
[Route("api/storage/{*path}")]
public IActionResult UploadFile(string path, UploadRequest re, string subpath = null)
Type | Name | Description |
---|---|---|
string | path | The path which the uploaded file is put. |
UploadRequest | re | The upload request. |
string | subpath | The file name |
Type | Description |
---|---|
IActionResult | The result. |