I have googled and tried for some time now but can't figure out how to test my http request handlers.

I found the functions createTestHTTPServerRequest and createTestHTTPServerResponse, so I can make a call to the handler.

But I have not been able to figure out how to send the post content with the request or how to get the response content out for verification.

I'm surprised I have not been able to find examples of this. Isn't anyone testing their handlers? Or is my google foo that bad?