Fix regression introduced by flattening if-blocks that caused POST requests to require an empty body