Skip to content

Commit fe1beba

Browse files
committed
Update example WebClientSSL
1 parent 14a2918 commit fe1beba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/WebClientSSL/WebClientSSL.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
2525

2626
char server[] = "sistemas.micsg.com.br"; // name address for site
27-
char path[] = "/ethernet-large-get-example"; // https://sistemas.micsg.com.br/ethernet-large-get-example
27+
char query[] = "GET /ethernet-large-get-example"; // https://sistemas.micsg.com.br/ethernet-large-get-example
2828

2929
// Set the static IP, Mask, DNS, gateway address to use if the DHCP fails to assign
3030
#define MYIPADDR 192, 168, 1, 28
@@ -117,8 +117,7 @@ void setup()
117117
{
118118
Serial.print("connected to ");
119119
// Make a HTTP request:
120-
client.print("GET /");
121-
client.print(path);
120+
client.print(query);
122121
client.println(" HTTP/1.1");
123122
client.print("Host: ");
124123
client.println(server);

0 commit comments

Comments
 (0)