use php://input if body is null