--- http_interactions: - request: method: get uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=addpop&cpanel_jsonapi_module=Email&cpanel_jsonapi_user=lumberg&domain=lumberg-test.com&email=filters-test&password=abcdefg"a=0 body: string: "" headers: User-Agent: - Faraday v0.8.7 Accept: - "*/*" Authorization: - WHM root:iscool response: status: code: 200 message: OK headers: Content-Type: - text/plain; charset="utf-8" X-Keep-Alive-Count: - "1" Keep-Alive: - timeout=70, max=200 Connection: - Keep-Alive Content-Length: - "296" Date: - Fri, 03 May 2013 16:48:00 GMT Server: - cpsrvd/11.32.6.3 body: string: | {"cpanelresult":{"apiversion":2,"module":"Email","preevent":{"result":1},"func":"addpop","data":[{"result":0,"reason":"The account filters-test@lumberg-test.com already exists!"}],"error":"The account filters-test@lumberg-test.com already exists!","postevent":{"result":1},"event":{"result":1}}} http_version: recorded_at: Fri, 03 May 2013 16:48:01 GMT - request: method: get uri: https://myhost.com:2087/json-api/cpanel?account=filters-test@lumberg-test.com&action1=fail&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=storefilter&cpanel_jsonapi_module=Email&cpanel_jsonapi_user=lumberg&filtername=fail%20filter&match1=is&opt1=and&part1=$header_from:&val1=hi body: string: "" headers: User-Agent: - Faraday v0.8.7 Accept: - "*/*" Authorization: - WHM root:iscool response: status: code: 200 message: OK headers: Content-Type: - text/plain; charset="utf-8" X-Keep-Alive-Count: - "1" Keep-Alive: - timeout=70, max=200 Connection: - Keep-Alive Content-Length: - "237" Date: - Fri, 03 May 2013 16:48:01 GMT Server: - cpsrvd/11.32.6.3 body: string: | {"cpanelresult":{"preevent":{"result":1},"event":{"result":1},"func":"storefilter","data":[{"error":0,"ok":1,"result":"Filter Saved.","account":"filters-test@lumberg-test.com"}],"postevent":{"result":1},"module":"Email","apiversion":2}} http_version: recorded_at: Fri, 03 May 2013 16:48:01 GMT recorded_with: VCR 2.0.1