AJAX and Multipart/Form-Data
I’m writing a lot of code most evenings. Here is some code I wrote in JavaScript to submit an AJAX request using multipart/form-data encoding. This is better than the more typical application/x-www-form-urlencoded encoding because data does not need to be reformatted if it contains things that are not…
Continue reading