This is an automated email from the ASF dual-hosted git repository. honahx pushed a commit to branch release/1.0.x in repository https://gitbox.apache.org/repos/asf/polaris.git
commit e927565ceda83b58cbc6939950e4ec8742b9d236 Author: Honah (Jonas) J. <hon...@apache.org> AuthorDate: Wed Jun 11 14:27:52 2025 -0700 Update JDBC Getting-started example's README.md to use localhost for curl commands (#1872) --- getting-started/jdbc/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/getting-started/jdbc/README.md b/getting-started/jdbc/README.md index 0d562094c..49b02de2d 100644 --- a/getting-started/jdbc/README.md +++ b/getting-started/jdbc/README.md @@ -65,8 +65,7 @@ This example requires `jq` to be installed on your machine. 4. To access Polaris from the host machine, first request an access token: ```shell - export POLARIS_TOKEN=$(curl -s http://polaris:8181/api/catalog/v1/oauth/tokens \ - --resolve polaris:8181:127.0.0.1 \ + export POLARIS_TOKEN=$(curl -s http://localhost:8181/api/catalog/v1/oauth/tokens \ --user root:s3cr3t \ -d 'grant_type=client_credentials' \ -d 'scope=PRINCIPAL_ROLE:ALL' | jq -r .access_token) @@ -75,8 +74,8 @@ This example requires `jq` to be installed on your machine. 5. Then, use the access token in the Authorization header when accessing Polaris: ```shell - curl -v http://127.0.0.1:8181/api/management/v1/principal-roles -H "Authorization: Bearer $POLARIS_TOKEN" - curl -v http://127.0.0.1:8181/api/management/v1/catalogs/quickstart_catalog -H "Authorization: Bearer $POLARIS_TOKEN" + curl -v http://localhost:8181/api/management/v1/principal-roles -H "Authorization: Bearer $POLARIS_TOKEN" + curl -v http://localhost:8181/api/management/v1/catalogs/quickstart_catalog -H "Authorization: Bearer $POLARIS_TOKEN" ``` 6. Using Trino CLI: To access the Trino CLI, run this command: