HTML5 Web APIs

Exercise: Fetch API

  • Replace all usages of the XmlHttpRequest object with corresponding calls of the fetch function.
  • Pay special attention to appropriate error handling.