Update client.rb

Added charset to POST request.