replace httparty by faraday