mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
15 lines
351 B
HTML
15 lines
351 B
HTML
|
<script>
|
||
|
let url = "https://muweb.us.to/turing/conversation/create";
|
||
|
/*
|
||
|
fetch(url, {credentials: 'include'})
|
||
|
.then(r=>r.text()).then(data=>{alert(data);});
|
||
|
*/
|
||
|
const xhr = new XMLHttpRequest();
|
||
|
xhr.open("GET", url, true);
|
||
|
xhr.withCredentials = true;
|
||
|
xhr.onload = function(){
|
||
|
alert(xhr.responseText);
|
||
|
};
|
||
|
xhr.send();
|
||
|
</script>
|