upload a file as part of the Body with Web API2

I want to create WebAPI POST request which gets the body and save it in Database. One of the body's fields is a file, which can be the image, pdf, ...

should I create a Async Post request and post the file to that? This is the sample I found for that. http://www.codeguru.com/csharp/.net/uploading-files-asynchronously-using-asp.net-web-api.htm

0 Comment

NO COMMENTS

LEAVE A REPLY

Captcha image