Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ajax request in javascript

fetch('https://api.covid19api.com/summary')
            .then(response => response.json())
            .then(data => console.log(data))
            .catch(err => {
                console.log(err)
            });
 
PREVIOUS NEXT
Tagged: #ajax #request #javascript
ADD COMMENT
Topic
Name
6+9 =