"I didn't need this; why did they bother?"
How does what do what?
Serial output isn't happening "in the background".
It could still be incomplete two weeks later.
Does this mean that we should always use a flush after a print statment?
Serial.print("switch state: ");Serial.println(state);
Do I really need to block waiting for this data to get to the Serial Monitor?
I do not want to waste time hanging around for response strings when the request has not been completely sent.
I can use header records with IDs but it would be simpler to send a request and know that the ensuing response was for the just-made request: or the absence indicates a problem which can be dealt with there and then.