But this code just sends GET then converts to the string output to relay it to the remote server.
You said that you have a sketch that just reads the serial data. So, after reading up the \n, how many characters are in the array? The readBytesUntil() method NULL terminates the array, so strlen() will tell you the length.
I'm sorry but I can't get this function to work...could you lay it out in my code for me? So I can get an answer for you...Sorry I'm a noob
int b=Serial.readBytesUntil('\n',strout,sizeof(strout)); int len = strlen(strout);