1

This shows how to capture form data, including a file, using web api: http://www.asp.net/web-api/overview/advanced/sending-html-form-data-part-2.

How is it done on the client side if you don't have a <form>? I need to send a file and a string to the web api app. This will come from a windows client. The user will click a button, I'll prepare the string, get the file and submit to the web api app.

How do I structure the call on the client when there is no <form>?

4thSpace
  • 43,672
  • 97
  • 296
  • 475

0 Answers0