I am using esp8266 to read string off web server
The code example is
// Read all the lines of the reply from server and print them to Serial
while(client.available()){
String line = client.readStringUntil(‘\r’);
Serial.print(line);
}
The response is below and is correct but I need to extract only the data (last line)
Is there a way of doing it without string manipulation
connecting to yozmaportal.net
Requesting URL: /g.txt
HTTP/1.1 200 OK
Date: Thu, 03 May 2018 21:02:21 GMT
Server: Apache/2.4.7 (Ubuntu)
Last-Modified: Thu, 03 May 2018 20:46:48 GMT
ETag: ’10-56b534d6756a0′
Accept-Ranges: bytes
Content-Length: 16
Connection: close
Content-Type: text/plain
Omer&ronisegoly