--- http_interactions: - request: method: post uri: https://api:@api.mailgun.net/v3/domains body: encoding: US-ASCII string: name=integration-test.domain.invalid&smtp_password=super_secret&spam_action=tag headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Content-Length: - '79' Content-Type: - application/x-www-form-urlencoded User-Agent: - Ruby response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Fri, 08 Jan 2016 20:34:40 GMT Content-Type: - application/json Content-Length: - '52' Connection: - keep-alive body: encoding: UTF-8 string: |- { "message": "This domain name is already taken" } http_version: recorded_at: Fri, 08 Jan 2016 20:34:41 GMT