/xhr-fetch-examples

examples of using XMLHttpRequests and Fetch

Primary LanguageJavaScript

XMLHttpRequest and Fetch examples

Dependencies

  1. live-server

Get Started

git clone https://github.com/ryancheta/xhr-fetch-example.git
cd xhr-fetch-example
live-server

A browser should launch that contains three buttons that fetch using a local text file and JSON from a public API.