have you read this https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest#Submitting_forms_and_uploading_files ? or the more basic one https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects ? a bit hard and un-copy-pasteable. after that you may read my own a bit more generic exmamle . so lets start with the 2nd link , which is supposely simple, but there are a couple of catches. 1st, although it says, you can only create a FormData with a form element, which is a bit problematic in many cases where you can only have 1 form like in asp.net or sharepoint. the solution will be presented down here with the explanation about the upper link, and in a more generic example in my other post here 2nd is in the jquery example, where they say you can turn off the proccessData and contentType, which although true, but that means you need to break the request hardcoded, and that in managed frameworks you'll get the raw st...