JavaScript - XMLHttpRequest and AJAX

WittCode March 19, 2022
Video Thumbnail

About

Welcome to WittCode where not one line of code goes unexplained! My goal is to teach you programming through building practical applications such as log in forms, client server programs, keyloggers, and much more!

Video Description

Learn about XHR (XMLHttpRequest) and its relationship with AJAX. Also compare XMLHttpRequest vs fetch(). Become a Better Developer 📚 https://courses.wittcode.com My Software 📡 WittCepter - https://chromewebstore.google.com/detail/wittcepter/almcnacncageamimacljglnjcpjfogbj 🪵 ConsoleLog - https://chromewebstore.google.com/detail/consolelog/bpkeepmeajdffneiimcknfnjodekcgnh Download Code 👨‍💻 https://blog.wittcode.com ⌛ Timestamps 0:00 – Introduction 0:21 – What is an XMLHttpRequest? 0:53 – What is AJAX? 1:11 – Creating a XHR 1:50 – Initializing a XHR with open() 3:16 – Sending a XHR with send() 3:52 – Handling XHR Response with readyStateChange 6:27 – Accessing XHR Response Data 7:51 – AJAX and XMLHttpRequest Example 10:21 – Debugging 11:14 – XHR vs fetch() 12:06 - Outro

You May Also Like