Custom form data with multiple files to Web API controller
问题 I have problems of getting all the form data I've specified in my API Controller. javascript upload function: $scope.upload[index] = $upload.upload({ url: '/api/upload/', method: 'POST', data: { Photographer: $scope.models[index].photographer, Description: $scope.models[index].desc }, file: $scope.models[index].file }) Form data: Works as I want it to, for each request that is sent it includes my values as i want it to. ------WebKitFormBoundaryzlLjAnm449nw1EvC Content-Disposition: form-data;