tested with httparty