Answers for "new http version ANGULAR"

0

new http version ANGULAR

$http({
    method: 'get', 
    url: 'data/data.json'
}).then(function (response) {
    console.log(response, 'res');
    data = response.data;
},function (error){
    console.log(error, 'can not get data.');
});
Posted by: Guest on April-02-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language