Fix request formatting