allows '0' to be the request body

Since PHP treats '0' as false, therefore, we will skip setting the body value if $body=='0'.

I suppose this is not the intended behavior as the request body can theoretically be '0'.

Changed condition to be not null.