Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios get data from json file

axios.get('data.json')
    .then(res => console.log(res.data))
    .catch(err => console.log(err)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #axios #data #json #file
ADD COMMENT
Topic
Name
9+4 =