replace faraday with httparty