summaryrefslogtreecommitdiff
path: root/test/support/cassettes/records_manager/update/invalid_record.json
blob: df6d73a76cacd9a0a6bd451a19020e9f8881bec2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[
  {
    "request": {
      "body": "{\"rrsets\":[{\"type\":\"NS\",\"ttl\":86800,\"records\":[{\"disabled\":true,\"content\":\"127.0.0.1\"}],\"name\":\"updated-record.my-domain.art.\",\"changetype\":\"REPLACE\"}]}",
      "headers": {
        "X-API-Key": "Locaweb2016"
      },
      "method": "patch",
      "options": [],
      "request_body": "",
      "url": "http://cpro36999.systemintegration.locaweb.com.br/api/v1/servers/localhost/zones/my-domain.art."
    },
    "response": {
      "body": "{\"error\": \"Record updated-record.my-domain.art./NS '127.0.0.1': Not in expected format (parsed as '127.0.0.1.')\"}",
      "headers": {
        "Access-Control-Allow-Origin": "*",
        "Connection": "close",
        "Content-Length": "113",
        "Content-Security-Policy": "default-src 'self'; style-src 'self' 'unsafe-inline'",
        "Content-Type": "application/json",
        "Server": "PowerDNS/4.0.1",
        "X-Content-Type-Options": "nosniff",
        "X-Frame-Options": "deny",
        "X-Permitted-Cross-Domain-Policies": "none",
        "X-Xss-Protection": "1; mode=block"
      },
      "status_code": 422,
      "type": "ok"
    }
  }
]