Enforce POST constraint

We shouldn't bother trying to read data from the request if it's a GET
and thus doesn't have any.