SHARE
TWEET

Untitled

a guest Jan 24th, 2020 781 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   _fetchData() {
  2.     return fetch('http://localhost:8080/get-beerDB?')
  3.       .then((response) => JSON.parse(response))
  4.       .catch((error) => {
  5.         console.error(error);
  6.     });
  7.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top