You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2018/04/20 05:49:14 UTC
[incubator-pulsar] branch master updated: Document 307 redirection
on admin restful api (#1619)
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 3bfa9d6 Document 307 redirection on admin restful api (#1619)
3bfa9d6 is described below
commit 3bfa9d6efe53d8f1ecaf6ce8c8bdb6af7df20287
Author: Sijie Guo <gu...@gmail.com>
AuthorDate: Thu Apr 19 22:49:11 2018 -0700
Document 307 redirection on admin restful api (#1619)
---
site/docs/latest/admin-api/overview.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/site/docs/latest/admin-api/overview.md b/site/docs/latest/admin-api/overview.md
index 670401a..88efb29 100644
--- a/site/docs/latest/admin-api/overview.md
+++ b/site/docs/latest/admin-api/overview.md
@@ -28,7 +28,9 @@ The Pulsar admin interface enables you to manage all of the important entities i
You can currently interact with the admin interface via:
-1. Making HTTP calls against the admin [REST API](../../reference/RestApi) provided by Pulsar {% popover brokers %}.
+1. Making HTTP calls against the admin [REST API](../../reference/RestApi) provided by Pulsar {% popover brokers %}. For some restful apis, they might be redirected to topic owner brokers for serving
+ with [`307 Temporary Redirect`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307), hence the HTTP callers should handle `307 Temporary Redirect`. If you are using `curl`, you should specify `-L`
+ to handle redirections.
1. The `pulsar-admin` CLI tool, which is available in the `bin` folder of your [Pulsar installation](../../getting-started/LocalCluster):
```shell
--
To stop receiving notification emails like this one, please contact
sijie@apache.org.