Set POST data correctly