Update server.rb

changed from 'post' to 'get' to allow compatibility with a iOS app.