This community-built FAQ covers the “XHR GET Requests I” exercise from the lesson “Requests I”.
Paths and Courses
This exercise can be found in the following Codecademy content:
Web Development
Introduction To JavaScript
FAQs on the exercise XHR GET Requests I
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply ( ) below!
Agree with a comment or answer? Like ( ) to up-vote the contribution!
Need broader help or resources ? Head here .
Looking for motivation to keep learning? Join our wider discussions .
Learn more about how to use this guide.
Found a bug ? Report it!
Have a question about your account or billing? Reach out to our customer support team !
None of the above? Find out where to ask other questions here !
So can I think that AJAX is a technology to communicate data asynchronously after initial page load and Premise, XHR are concrete frameworks which implement the technique?
1 Like
Is all communication between the server and Javascript accomplished using XML/AJAX at some level, or is that just one method of communication?
mtf
February 16, 2020, 5:39pm
#4
This will be a bit of a tricky read, but give it a go and check some of the results…
https://www.google.com/search?client=firefox-b-d&q=web+socket+vs+ajax
We will, at this stage be focusing on AJAX (Asynchronous JAvascript over XML). AJAX is a later refinement of the original XHR
(XMLHTTPRequest).
You might find this reading somewhat enlightening, though not a direct answer to your question…
https://developer.mozilla.org/en-US/docs/Learn/Server-side/First_steps
1 Like