This commit is contained in:
RobinNixon
2021-06-19 09:50:12 +01:00
parent 65c44dc5d6
commit eeb4267820
3 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -13,8 +13,7 @@
let url = "rss.news.yahoo.com/rss/topstories"
let XHR = new XMLHttpRequest()
XHR.open("POST", "http://127.0.0.1/18/xmlget.php?url=" + url + nocache, true)
XHR.setRequestHeader("Content-type", "application/x-www-form-urlencoded")
XHR.open("GET", "http://127.0.0.1/18/xmlget.php?url=" + url + nocache, true)
XHR.send()
XHR.onreadystatechange = function()