change deposit method to HTTP POST