--- http_interactions: - request: method: post uri: http://admin:password@test.mxhero.com/webapi/api/v1/domains/test.com/adldap body: encoding: UTF-8 string: ! '{"domain":"test.com","directoryType":"gapps","addres":null,"port":null,"sslFlag":null,"user":"user","password":"password","filter":null,"base":null,"nextUpdate":null,"lastUpdate":null,"error":null,"overrideFlag":null,"dnAuthenticate":null,"useMailAsMain":true,"properties":[]}' headers: Accept: - application/json Content-Type: - application/json Authorization: - Basic YWRtaW46cGFzc3dvcmQ= response: status: code: 201 message: !binary |- Q3JlYXRlZA== headers: !binary "RGF0ZQ==": - !binary |- VHVlLCAxMCBEZWMgMjAxMyAxNToxMjo0NSBHTVQ= !binary "U2VydmVy": - !binary |- QXBhY2hlLzIuMi4xNCAoVWJ1bnR1KQ== !binary "VHJhbnNmZXItRW5jb2Rpbmc=": - !binary |- Y2h1bmtlZA== !binary "Q29udGVudC1UeXBl": - !binary |- YXBwbGljYXRpb24vanNvbg== body: encoding: US-ASCII string: ! '{"domain":"test.com","directoryType":"gapps","addres":null,"port":null,"sslFlag":false,"user":"user","password":"password","filter":null,"base":null,"nextUpdate":1386688365000,"lastUpdate":null,"error":null,"overrideFlag":false,"dnAuthenticate":null,"useMailAsMain":true,"properties":[],"periodInHours":0}' http_version: recorded_at: Tue, 10 Dec 2013 15:12:45 GMT - request: method: post uri: http://admin:password@test.mxhero.com/webapi/api/v1/domains/test.com/adldap body: encoding: UTF-8 string: ! '{"domain":"test.com","directoryType":"gapps","addres":null,"port":null,"sslFlag":null,"user":"user","password":"password","filter":null,"base":null,"nextUpdate":null,"lastUpdate":null,"error":null,"overrideFlag":null,"dnAuthenticate":null,"properties":[]}' headers: Accept: - application/json Content-Type: - application/json Authorization: - Basic YWRtaW46cGFzc3dvcmQ= response: status: code: 500 message: !binary |- SW50ZXJuYWwgU2VydmVyIEVycm9y headers: !binary "RGF0ZQ==": - !binary |- VHVlLCAxMCBEZWMgMjAxMyAxNToxMjo0NiBHTVQ= !binary "U2VydmVy": - !binary |- QXBhY2hlLzIuMi4xNCAoVWJ1bnR1KQ== !binary "Q29ubmVjdGlvbg==": - !binary |- Y2xvc2U= !binary "VHJhbnNmZXItRW5jb2Rpbmc=": - !binary |- Y2h1bmtlZA== !binary "Q29udGVudC1UeXBl": - !binary |- YXBwbGljYXRpb24vanNvbg== body: encoding: US-ASCII string: ! '{"status":500,"code":500,"developerMessage":"domain.ldap.already.exists","moreInfoUrl":"mailto:support@mxhero.com"}' http_version: recorded_at: Tue, 10 Dec 2013 15:12:46 GMT recorded_with: VCR 2.5.0