getting started...

Post Reply
Posts: 6
Joined: Thu Feb 16, 2017 12:48 pm
United States of America

getting started...

Post by cdav » Tue Feb 21, 2017 6:26 am

Hi, I am trying to familiarize myself with using the Myth Service API. If I paste "" into the address bar on the browser, I get the expected result. However when I load the script below into my browser, nothing happens. Am I on the right track?

<!DOCTYPE html>
<h1>The XMLHttpRequest Object</h1>
<p id="demo">Let AJAX change this text.</p>
<button type="button" onclick="loadDoc()">Change Content</button>
function loadDoc() {
var xhttp = new XMLHttpRequest();"GET", "", false);
document.getElementById("demo").innerHTML = xhttp.responseText;

User avatar
Posts: 1895
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: getting started...

Post by bill6502 » Wed Feb 22, 2017 12:00 am


The app I'm familiar with opens a connection to port 6544 directly,
as opposed to going to 80 1st. Things like XSS and CORS come
to mind, but I'm not a web guy.

Post Reply