From a49ef0564c04618dc54e80b8e091bfdb9488c8d1 Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Mon, 17 Jun 2024 10:21:40 -0600 Subject: [PATCH] Update examples with correct URL --- .../Getting_Started_SimpleClient_Mesh.ino | 4 ++-- .../Getting_Started_SimpleClient_Mesh_DNS.ino | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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");