I am sending strings to an Esp8266 via web browser.
The below code returns the following in serial monitor if I send in browser:
Send from browser to esp8266 - http://192.168.1.220/s1s2s3s4s5d1
Receive in Arduino Serial monitor - GET /s1s2s3s4s5d2 HTTP/1.1
How do i read only the contents s1s2s3s4s5d1 ? This content can vary in length, numbers could be double digits but alphabets will remain in between.
Please note I am still a novice.
// Read the first line of the request
String request = client.readStringUntil('\r');
Serial.println(request);
client.flush();
arduino parsing strings
– jsotola Jan 2 '19 at 17:55