interactive-matter/HTTPClient — Issue #5: cant read stream returned by postURI 
Author: fojackson
Created: 2012-02-18 00:00:30+00:00
State: open

if I uncomment the section that reads the servers response, it crashes the Arduino Mega 2560. I'd really like to be able to read the page returned by the server.
my code:

HTTPClient hclient(serverName,(uint8_t *)uint8_serverIP);
f1=hclient.postURI(urlbuf, NULL, databuf, headers );
/*
char cc;
while((cc = fgetc(f1)) != EOF)
{
Serial.print(cc);
}
*/
int retcode=hclient.getLastReturnCode();