Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing! //upload [HttpPost,Route(“upload”)] public async System.Threading.Tasks.Task<HttpResponseMessage> test() { var httpRequest = HttpContext.Current.Request; foreach (string file in httpRequest.Files) { var postedFile = httpRequest.Files[file]; var originalFileExtension = Path.GetExtension(postedFile.FileName);//dosya uzantısını verir var filePath = HttpContext.Current.Server.MapPath(“~/” + postedFile.FileName); postedFile.SaveAs(filePath); } return Request.CreateResponse(HttpStatusCode.OK, “yüklendi”); }