sijie closed pull request #1619: Document 307 redirect on admin restful api URL: https://github.com/apache/incubator-pulsar/pull/1619
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/site/docs/latest/admin-api/overview.md b/site/docs/latest/admin-api/overview.md index 670401a16..88efb2924 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 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services