diff --git a/examples/Getting_Started_SimpleClient_Mesh/Getting_Started_SimpleClient_Mesh.ino b/examples/Getting_Started_SimpleClient_Mesh/Getting_Started_SimpleClient_Mesh.ino index 45beba5..33b83b0 100644 --- a/examples/Getting_Started_SimpleClient_Mesh/Getting_Started_SimpleClient_Mesh.ino +++ b/examples/Getting_Started_SimpleClient_Mesh/Getting_Started_SimpleClient_Mesh.ino @@ -173,8 +173,8 @@ void connect() { // Make an HTTP request: if (host == ascii) { - client.println("GET http://artscene.textfiles.com/asciiart/texthistory.txt HTTP/1.1"); - client.println("Host: 208.86.224.90"); + client.println("GET /asciiart/texthistory.txt HTTP/1.1"); + client.println("Host: artscene.textfiles.com"); } else { client.println("GET /web/blyad.club/library/litrature/Salvatore,%20R.A/Salvatore,%20R.A%20-%20Icewind%20Dale%20Trilogy%201%20-%20Crystal%20Shard,%20The.txt HTTP/1.1"); client.println("Host: 109.120.203.163"); diff --git a/examples/Getting_Started_SimpleClient_Mesh_DNS/Getting_Started_SimpleClient_Mesh_DNS.ino b/examples/Getting_Started_SimpleClient_Mesh_DNS/Getting_Started_SimpleClient_Mesh_DNS.ino index 06c6565..80d8cb2 100644 --- a/examples/Getting_Started_SimpleClient_Mesh_DNS/Getting_Started_SimpleClient_Mesh_DNS.ino +++ b/examples/Getting_Started_SimpleClient_Mesh_DNS/Getting_Started_SimpleClient_Mesh_DNS.ino @@ -114,8 +114,8 @@ void connect() { // Make an HTTP request: if (host == ascii) { - client.println("GET http://artscene.textfiles.com/asciiart/texthistory.txt HTTP/1.1"); - client.println("Host: 208.86.224.90"); + client.println("GET /asciiart/texthistory.txt HTTP/1.1"); + client.println("Host: artscene.textfiles.com"); } else { client.println("GET /web/blyad.club/library/litrature/Salvatore,%20R.A/Salvatore,%20R.A%20-%20Icewind%20Dale%20Trilogy%201%20-%20Crystal%20Shard,%20The.txt HTTP/1.1"); client.println("Host: 109.120.203.163");