Parse HTTP Response

Once again, I'll remind you that "the actual data" is the ENTIRE server response.

If only SOME of the data is important, YOU must define what marks the start of important data and what marks the end of important data.

Then, when the start marker arrives, you know to start storing data in a char array, and when the end marker arrives you know to stop storing the data, use the stored data, and reset the array, and index, for the next server reply.

Why on earth would you post code that is NOT the code you are having problems with?