fix api http post request