
Fundamentals all the way down
JS Party: JavaScript, CSS, Web Development
How to Use JavaScript to Provide a Nicer Experience for Users
Browsers default to using a get request, so it just like adds data from the form in query string parameters. So what that's doing under the covers is that that file as a binary blob is getting sent along as the post body in HTTP. Then anything that's that's responding to that something on a server somewhere is able to access that blob. If you if you leave off the Nk type, then browsers will send the body of that file. It'll append the data from that file either in a get request to the query parameters, or in the body as just a string of the file name.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.