Fixes #54 by handling non-200 post responses

I think there are other places to look at, but here's a start for your review.