JS Party: JavaScript, CSS, Web Development cover image

Fundamentals all the way down

JS Party: JavaScript, CSS, Web Development

00:00

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.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app