Fixed an error in post request.