7 lines
162 B
JavaScript
7 lines
162 B
JavaScript
|
const url = "http://localhost/15.05/get.php"
|
||
|
|
||
|
fetch( url + 'get.php')
|
||
|
.then(response => response.json())
|
||
|
.then( data => {
|
||
|
console.log(data)
|
||
|
})
|