How to set my own boundary on multipart/form-data using XMLHttpRequest and FormData object
问题 I have been trying to find out a way to set my own boundary on an XMLHttpRequest object when using the FormData object to append files to a request. I've seen multiple posts on this and everyone says "just don't set the boundary and it will automatically generate for you." This is NOT what I want. Let me explain what I need so I don't get these kinds of responses. I have a web service endpoint to which I send a multipart/form-data request with two images and some json data. Since WCF doesn't