Replace use of several parameters by one, and use of Net::HTTP API
Send only one parameter
Change according to serversate.rb