Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fetch api sample

 fetch("https://catfact.ninja/fact")
     .then((res) => res.json())
     .then((data) => {
       console.log(data);
     });
Source by statusneo.com #
 
PREVIOUS NEXT
Tagged: #fetch #api #sample
ADD COMMENT
Topic
Name
6+4 =