Closed calind closed 7 years ago
Current state
POST /zone/1/records { "name": "text", "ttl": "300", "type": "TXT", "values": ["Coo coo"] } [400] Bad Request { "non_field_error": [ "Invalid Resource Record: FATAL problem: InvalidCharacterString (Value should be enclosed in quotation marks) encountered with 'Coo coo'" ] } POST /zone/1/records { "name": "text", "ttl": "300", "type": "TXT", "values": ["\"Coo coo\""] } [201] Created { "name": "text", "type": "TXT", "values": [ "\"Coo coo\"" ], "ttl": 300, "dirty": false, "id": "ZgLKvW3lAP89KmZ5ZG908r6NLrx1qJ", "url": "http://zinc.presslabs.net/zones/1/records/ZgLKvW3lAP89KmZ5ZG908r6NLrx1qJ", "managed": false }
Expected state
POST /zone/1/records { "name": "text", "ttl": "300", "type": "TXT", "values": ["Coo coo"] } [201] Created { "name": "text", "type": "TXT", "values": [ "Coo coo" ], "ttl": 300, "dirty": false, "id": "ZgLKvW3lAP89KmZ5ZG908r6NLrx1qJ", "url": "http://zinc.presslabs.net/zones/1/records/ZgLKvW3lAP89KmZ5ZG908r6NLrx1qJ", "managed": false }
Current state
Expected state