浏览代码

fix(docs): trailing slash was missing for zonefile/ endpoint

Peter Thomassen 2 年之前
父节点
当前提交
d1530dbbdf
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/dns/domains.rst

+ 2 - 2
docs/dns/domains.rst

@@ -261,9 +261,9 @@ Exporting a Domain as Zonefile
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
 To export domain data in zonefile format, send a ``GET`` request to the
 To export domain data in zonefile format, send a ``GET`` request to the
-``zonefile`` endpoint of this domain, i.e. to ``/domains/{name}/zonefile``::
+``zonefile`` endpoint of this domain, i.e. to ``/domains/{name}/zonefile/``::
 
 
-    curl -X GET https://desec.io/api/v1/domains/{name}/zonefile \
+    curl -X GET https://desec.io/api/v1/domains/{name}/zonefile/ \
         --header "Authorization: Token {secret}"
         --header "Authorization: Token {secret}"
 
 
 Note that this will return a plain-text zonefile format without JSON formatting
 Note that this will return a plain-text zonefile format without JSON formatting