Dennis2019: XMLHttpRequest von anderer IP

Beitrag lesen

Hallo vielen Dank für die Antwort also muss ich den Code so verändern?:

  // send HTTP GET request with LEDs to switch on/off if any
            //const url='192.168.178.104:80/ajax_inputs';
            request.open("GET", "http://192.168.178.104", true);
            request.setRequestHeader("ajax_inputs" + strLED1 + strLED2 + strLED3 + strLED4 + 
            nocache);
            request.send(null);
            setTimeout('GetArduinoIO()', 1000);
            strLED1 = "";
            strLED2 = "";
            strLED3 = "";
            strLED4 = "";
        }