Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

response.json() promise pending

fetch('someurltoAJsonFile.json')
  .then(response => response.json())
  .then(data => {
    console.log(data)
  });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #promise #pending
ADD COMMENT
Topic
Name
6+9 =