<form action="/api/Values " > <!-- method="post" enctype="multipart/form-data" --> <div> <input type="file" id="btn_FileUpload" name="btn_FileUpload" class="btn btn-primary"> <input type="submit" id="btn_submit" name="btn_submit"> </div> </form> Public Class ValuesController Inherits ApiController Public Function GetValues() As IEnumerable(Of String) I want to get the file here Return New String() {"value1", "value2"} End Function End Class
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)