Fix get/post handling.