You are reading a single comment by @JumJum and its replies. Click here to read the full conversation.
  • Hello Gordon,

    just tried it with my own server ( and got it working with this:
    cmd = 'GET ' + adr + ' HTTP/1.0\r\n Host:' + host + '\r\n\r\n';
    where host="" and adr="/Juergen/index.htm"

    trying the same with host="" and adr="/modules/servo.js" returns a 404 from

    using host="" and adr="/modules/servo.js" gives a totally strange feedback, echo of command is this: "Host:http://www.Espruino.comrvo.js"which is very strange in my eyes

    testing with a subdomain from my server it works fine
    host="" adr="/"

    hope this helps a little bit for your testing.


Avatar for JumJum @JumJum started