Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fetch request

fetch(url).then(function(response) {
  return response.json();
}).then(function(data) {
  console.log(data);
}).catch(function() {
  console.log("Booo");
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fetch #request
ADD COMMENT
Topic
Name
5+8 =