xmlhttprequest post content type





I want to use XMLHttpRequest in JavaScript to POST a form that includes a file type input element so that I can avoid page refresh and get useful XML back.Submitting the form results in HTTP that looks like: Content-Type: multipart/form-databoundary Content-Length: Content-Length:

With POST, additional information is transmitted to the server in the body of the request. When you send data from a form, you does not have to worry about the parameters, variables and their values are sent automatically wrapped in a chain of parameters. In the XMLHttpRequest specification. Im trying to use the XMLHttpRequest object to post form data to another page.

head runat"server"> Test XMLHttpRequest Post Data