a1/fetch.js

7 lines
162 B
JavaScript
Raw Normal View History

2024-05-15 10:24:25 +00:00
const url = "http://localhost/15.05/get.php"
fetch( url + 'get.php')
.then(response => response.json())
.then( data => {
console.log(data)
})