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 www.axios-js.com #
 
PREVIOUS NEXT
Tagged: #axios #api
ADD COMMENT
Topic
Name
9+8 =