Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios api example

npm i axios
import axios

axios.get("https://catfact.ninja/fact").then((res) => {
    console.log(res.data);
  });
Source by zetcode.com #
 
PREVIOUS NEXT
Tagged: #axios #api
ADD COMMENT
Topic
Name
6+8 =