upload file on server webfolder and post json data at the same using asp.net web api
问题 I want to upload files and post json data at the same using asp.net web api, i am not able to figure out how to code for controller to receive json data and file request also not able to figure out how to do setting in postman for testing the same. public async Task<JObject> Save(Validate val) { } 回答1: Uploading a file from web form to server requires a different approach specially when you want to upload file with other model data. Files selected on the client can not be submitted as JSON to