Web browsers let you upload files to a server using a form and file input control. The browser sends an HTTP request with the body of the request containing the encoded contents of the form. In this tutorial you'll see what these requests look like on the browser and on the server. We'll explore the difference between the two main form encoding types: application/x-www-form-urlencoded and multipart/form-data. Regardless of what framework or library you use, this is the foundation of how files are uploaded on the web using the HTTP protocol.
Something not making sense, want to share your thoughts or just say hello? I check this daily!
Join the Discussion
Want to leave a comment? Login Logging in... .