Complete doPost on Server and Client