Quellcode durchsuchen

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

Peter Thomassen vor 2 Jahren
Ursprung
Commit
d1530dbbdf
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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
-``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}"
 
 Note that this will return a plain-text zonefile format without JSON formatting