]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix broken HTTP API example for AAAA 4326/head
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Wed, 17 Aug 2016 14:00:36 +0000 (16:00 +0200)
committerChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Wed, 17 Aug 2016 14:00:36 +0000 (16:00 +0200)
docs/markdown/httpapi/README.md

index 5779be903950b681607b9a8729633fc934099a95..921fbb3c6c09c3c0b7b4998d182a24c0750653c9 100644 (file)
@@ -46,7 +46,7 @@ After restarting `pdns_server`, the following examples should start working:
        "type": "AAAA",
        "ttl": 86400,
        "changetype": "REPLACE",
-       "records": [ {"content": "2001:db8::6/32", "disabled": false} ]
+       "records": [ {"content": "2001:db8::6", "disabled": false} ]
       }
       ] }' -H 'X-API-Key: changeme' http://127.0.0.1:8081/api/v1/servers/localhost/zones/example.org. | jq .