diff options
Diffstat (limited to 'test/support/cassettes/records_manager/update/not_found.json')
-rw-r--r-- | test/support/cassettes/records_manager/update/not_found.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/support/cassettes/records_manager/update/not_found.json b/test/support/cassettes/records_manager/update/not_found.json new file mode 100644 index 0000000..38edad2 --- /dev/null +++ b/test/support/cassettes/records_manager/update/not_found.json @@ -0,0 +1,31 @@ +[ + { + "request": { + "body": "{\"rrsets\":[{\"type\":\"A\",\"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/not-canonical-domain.tst" + }, + "response": { + "body": "{\"error\": \"Could not find domain 'not-canonical-domain.tst.'\"}", + "headers": { + "Access-Control-Allow-Origin": "*", + "Connection": "close", + "Content-Length": "62", + "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" + } + } +]
\ No newline at end of file |