From fe915938c7037d66f9c33a0ab98c2e0e9ffacf14 Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Tue, 29 Aug 2017 12:05:00 -0400 Subject: [PATCH] API DOCS: Update snapshot curl example (#3423) --- website/source/api/snapshot.html.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/website/source/api/snapshot.html.md b/website/source/api/snapshot.html.md index fe5ed5963a..2d6c934a0d 100644 --- a/website/source/api/snapshot.html.md +++ b/website/source/api/snapshot.html.md @@ -60,14 +60,10 @@ The table below shows this endpoint's support for With a custom datacenter: ```text -$ curl https://consul.rocks/v1/snapshot?dc=my-datacenter +$ curl https://consul.rocks/v1/snapshot?dc=my-datacenter -o snapshot.tgz ``` -### Sample Response - -```text - -``` +The above example results in a tarball named `snapshot.tgz` in the current working directory. In addition to the Consul standard stale-related headers, the `X-Consul-Index` header will contain the index at which the snapshot took place.