--- http_interactions: - request: method: get uri: https://myhost.com:2087/json-api/cpanel?command=foo&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=add_line&cpanel_jsonapi_module=Cron&cpanel_jsonapi_user=lumberg&day=1&hour=1&minute=1&month=1&weekday=1 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" Server: - cpsrvd/11.32.6.3 Content-Length: - "249" X-Keep-Alive-Count: - "1" Connection: - Keep-Alive Date: - Fri, 03 May 2013 13:47:57 GMT Keep-Alive: - timeout=70, max=200 body: string: | {"cpanelresult":{"event":{"result":1},"apiversion":2,"func":"add_line","module":"Cron","data":[{"statusmsg":"This cron job already exists.","status":0,"linekey":"e1ce16ad6557f5b22f31ada1371d8f77"}],"preevent":{"result":1},"postevent":{"result":1}}} http_version: recorded_at: Fri, 03 May 2013 13:47:58 GMT - request: method: get uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=listcron&cpanel_jsonapi_module=Cron&cpanel_jsonapi_user=lumberg 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" Server: - cpsrvd/11.32.6.3 Content-Length: - "797" X-Keep-Alive-Count: - "1" Connection: - Keep-Alive Date: - Fri, 03 May 2013 13:47:57 GMT Keep-Alive: - timeout=70, max=200 body: string: | {"cpanelresult":{"data":[{"linekey":"142f5e82e28e40783de383eb93c570f3","day":"1","command_htmlsafe":"hi","command":"hi","count":1,"month":"1","minute":"1","weekday":"1","hour":"1"},{"linekey":"e1ce16ad6557f5b22f31ada1371d8f77","day":"1","command_htmlsafe":"foo","command":"foo","count":2,"month":"1","minute":"1","weekday":"1","hour":"1"},{"linekey":"01ef1ea05ac43132ded896cad80c8b08","day":"1","command_htmlsafe":"taco","command":"taco","count":3,"month":"1","minute":"1","weekday":"1","hour":"3"},{"linekey":"09f7366534c5dc41b4196634bbb245d1","day":"1","command_htmlsafe":"whatev","command":"whatev","count":4,"month":"1","minute":"1","weekday":"1","hour":"1"},{"count":5}],"module":"Cron","preevent":{"result":1},"postevent":{"result":1},"func":"listcron","apiversion":2,"event":{"result":1}}} http_version: recorded_at: Fri, 03 May 2013 13:47:58 GMT recorded_with: VCR 2.0.1