Have you ever wanted to know whether an HTTP request was submitted with an HTML form or JavaScript? This video walks through a few different options.
Links:
HTTP Headers - developer.mozilla.org/en-US/d...
Sec-Fetch-Mode - developer.mozilla.org/en-US/d...
Referrer - developer.mozilla.org/en-US/d...
Accept - developer.mozilla.org/en-US/d...
Content-Type - developer.mozilla.org/en-US/d...
Akamai EdgeWorkers - www.akamai.com/products/serve...
Watch Austin's Livestreams here:
RU-vid: / heyaustingil
Twitch: / heyaustingil
Website: austingil.com/
Chapters:
0:00 - Introduction
0:16 - HTML vs. JavaScript form submissions
1:00 - Sec-Fetch-Mode
2:24 - JavaScript Request
3:32 - Application Example
4:25 - Outro + Extra Tip
#html #webdevelopment #javascript
1 авг 2024