From pyro, 1 Year ago, written in JavaScript.
Embed
  1. var Http = new XMLHttpRequest();
  2. var url='https://jsonplaceholder.typicode.com/posts';
  3. Http.open("GET", url);
  4. Http.send();
  5.  
  6. console.log("Marker 1")
  7. console.log(Http.responseText)
  8. console.log("Marker 2")
  9. Http.onreadystatechange = (e) => {
  10.         console.log("Marker 3")
  11.   console.log(Http.responseText)
  12.         console.log("Marker 4")
  13. }
  14. console.log("Marker 5")
captcha