POST /posts validates Content-Type header and presence of request body