File_Get_Contents em JavaScript
// You can use Fetch to get data.
fetch('http://example.com') // url here
.then((response) => {
return response.json(); // replace .json() to .text() for plain text
})
.then((daat) => {
console.log(daat);
});
Undefined