diff --git a/Step/Controllers/WebApi/NcFileController.cs b/Step/Controllers/WebApi/NcFileController.cs index 901b622c..87452262 100644 --- a/Step/Controllers/WebApi/NcFileController.cs +++ b/Step/Controllers/WebApi/NcFileController.cs @@ -31,8 +31,8 @@ namespace Step.Controllers.WebApi } - [Route("file/info/{*filePath}"), HttpGet] - public IHttpActionResult GetFileInfo(string filePath) + [Route("file/info"), HttpGet] + public IHttpActionResult GetFileInfo([FromUri]string filePath) { using (NcHandler ncHandler = new NcHandler()) {