Send Status information to Remote Device with Authentication using HTTP GET

I can send the following command from a web browser to my remote controller and it works fine...


I cannot work out how to send this from Arduino using a standard Ethernet.

Any help or sample code appreciated.

The best help for a lot of issues is to go to the examples of the library in question.

I pulled this from the ethernet webclient example.
Basically, you client.println your request to an ethernetclient that's been setup with the server as your target.

IPAddress server(74,125,232,128);  // numeric IP for Google (no DNS)

basically replace that ip address with the IP you want to send your request to.

void setup() {
  // Open serial communications and wait for port to open:
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only

  // start the Ethernet connection:
  if (Ethernet.begin(mac) == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    // try to congifure using IP address instead of DHCP:
    Ethernet.begin(mac, ip);
  // give the Ethernet shield a second to initialize:

  // if you get a connection, report back via serial:
  if (client.connect(server, 80)) {
    // Make a HTTP request:
    client.println("GET /search?q=arduino HTTP/1.1");
    client.println("Connection: close");
  } else {
    // if you didn't get a connection to the server:
    Serial.println("connection failed");

This is all shown in "WebClient.ino"

The best help for a lot of issues is to go to the examples of the library in question.

That response says NOTHING useful about connecting to a server THAT REQUIRES AUTHENTICATION.