[]
Uploads file with the specified path.
[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
| 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. |