--- http_interactions: - request: method: put uri: http://admin:password@test.mxhero.com/webapi/api/v1/domains/tesla.com/accounts/upload?scope=groups body: encoding: UTF-8 string: ! '[{"account":"john.doe","properties":null,"group":"development"}]' headers: Accept: - application/json Content-Type: - application/json Authorization: - Basic YWRtaW46cGFzc3dvcmQ= response: status: code: 200 message: !binary |- T0s= headers: !binary "RGF0ZQ==": - !binary |- TW9uLCAzMCBTZXAgMjAxMyAxNDoxMDoyMyBHTVQ= !binary "U2VydmVy": - !binary |- QXBhY2hlLzIuMi4xNCAoVWJ1bnR1KQ== !binary "VHJhbnNmZXItRW5jb2Rpbmc=": - !binary |- Y2h1bmtlZA== !binary "Q29udGVudC1UeXBl": - !binary |- YXBwbGljYXRpb24vanNvbg== body: encoding: US-ASCII string: ! '[{"account":"john.doe","domain":null,"createdDate":null,"updatedDate":null,"group":"development","aliases":null,"dataSource":null,"properties":null}]' http_version: recorded_at: Mon, 30 Sep 2013 14:10:23 GMT - request: method: get uri: http://admin:password@test.mxhero.com/webapi/api/v1/domains/tesla.com/accounts?account=john.doe&limit=&offset= body: encoding: US-ASCII string: '' headers: Accept: - application/json Content-Type: - application/json Authorization: - Basic YWRtaW46cGFzc3dvcmQ= response: status: code: 200 message: !binary |- T0s= headers: !binary "RGF0ZQ==": - !binary |- TW9uLCAzMCBTZXAgMjAxMyAxNDoxMDoyMyBHTVQ= !binary "U2VydmVy": - !binary |- QXBhY2hlLzIuMi4xNCAoVWJ1bnR1KQ== !binary "VHJhbnNmZXItRW5jb2Rpbmc=": - !binary |- Y2h1bmtlZA== !binary "Q29udGVudC1UeXBl": - !binary |- YXBwbGljYXRpb24vanNvbg== body: encoding: US-ASCII string: ! '{"elements":[{"account":"john.doe","domain":"tesla.com","createdDate":1378759081000,"updatedDate":1380550173000,"group":"development","aliases":[{"name":"john.doe","domain":"tesla.com","dataSource":"manual"}],"dataSource":"manual","properties":null}],"totalElements":1,"totalPages":1,"actualPage":1}' http_version: recorded_at: Mon, 30 Sep 2013 14:10:23 GMT recorded_with: VCR 2.5.0