Sorry it took so long, I've been too busy to toy with this issue.
I added the Serial.print function where you indicated
Code:
(if(strcmp(buffer,"POST ") == 0)
{
client.find("\n\r");
while(client.findUntil("PinD", "\n\r"))
{
int pin = client.parseInt();
int val = client.parseInt();
pinMode(pin, OUTPUT);
digitalWrite(pin, val);
Serial.println("I saw the POST and toggled the pin!")
}
}
It does not print "I saw the POST and toggled the pin!", it still prints the HTTP and favicon.i
Except it added one character;