Skip to content

Commit 1d7ec43

Browse files
lpillmannYour friendly bot
authored andcommitted
[v3-0-test] Remove extra slash from endpoint URL (#53755)
(cherry picked from commit 31db128) Co-authored-by: Lui Pillmann <[email protected]>
1 parent ba1968f commit 1d7ec43

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

airflow-core/docs/core-concepts/auth-manager/simple/token.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Example
3030

3131
.. code-block:: bash
3232
33-
ENDPOINT_URL="http://localhost:8080/"
33+
ENDPOINT_URL="http://localhost:8080"
3434
curl -X 'POST' \
3535
"${ENDPOINT_URL}/auth/token" \
3636
-H 'Content-Type: application/json' \
@@ -45,5 +45,5 @@ If ``[core] simple_auth_manager_all_admins`` is set to True, you can also genera
4545

4646
.. code-block:: bash
4747
48-
ENDPOINT_URL="http://localhost:8080/"
48+
ENDPOINT_URL="http://localhost:8080"
4949
curl -X 'GET' "${ENDPOINT_URL}/auth/token"

airflow-core/docs/howto/docker-compose/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Here is a sample ``curl`` command, which sends a request to retrieve a pool list
279279

280280
.. code-block:: bash
281281
282-
ENDPOINT_URL="http://localhost:8080/"
282+
ENDPOINT_URL="http://localhost:8080"
283283
curl -X GET \
284284
--user "airflow:airflow" \
285285
"${ENDPOINT_URL}/api/v1/pools"

airflow-core/docs/security/api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Request
4343

4444
.. code-block:: bash
4545
46-
ENDPOINT_URL="http://localhost:8080/"
46+
ENDPOINT_URL="http://localhost:8080"
4747
curl -X POST ${ENDPOINT_URL}/auth/token \
4848
-H "Content-Type: application/json" \
4949
-d '{
@@ -63,7 +63,7 @@ Use the JWT token to call Airflow public API
6363

6464
.. code-block:: bash
6565
66-
ENDPOINT_URL="http://localhost:8080/"
66+
ENDPOINT_URL="http://localhost:8080"
6767
curl -X GET ${ENDPOINT_URL}/api/v2/dags \
6868
-H "Authorization: Bearer <JWT-TOKEN>"
6969

providers/fab/docs/auth-manager/api-authentication.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ work. This means that your user name should be ``user_name@REALM``.
6666
.. code-block:: bash
6767
6868
kinit user_name@REALM
69-
ENDPOINT_URL="http://localhost:8080/"
69+
ENDPOINT_URL="http://localhost:8080"
7070
curl -X GET \
7171
--negotiate \ # enables Negotiate (SPNEGO) authentication
7272
--service airflow \ # matches the `airflow` service name in the `airflow/fully.qualified.domainname@REALM` principal
@@ -106,7 +106,7 @@ Here is a sample curl command you can use to validate the setup:
106106

107107
.. code-block:: bash
108108
109-
ENDPOINT_URL="http://localhost:8080/"
109+
ENDPOINT_URL="http://localhost:8080"
110110
curl -X GET \
111111
--user "username:password" \
112112
"${ENDPOINT_URL}/api/v1/pools"

providers/fab/docs/auth-manager/token.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Example
3030

3131
.. code-block:: bash
3232
33-
ENDPOINT_URL="http://localhost:8080/"
33+
ENDPOINT_URL="http://localhost:8080"
3434
curl -X 'POST' \
3535
"${ENDPOINT_URL}/auth/token" \
3636
-H 'Content-Type: application/json' \

providers/google/docs/api-auth-backend/google-openid.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ look like the following.
5959

6060
.. code-block:: bash
6161
62-
ENDPOINT_URL="http://localhost:8080/"
62+
ENDPOINT_URL="http://localhost:8080"
6363
6464
AUDIENCE="project-id-random-value.apps.googleusercontent.com"
6565
ID_TOKEN="$(gcloud auth print-identity-token "--audiences=${AUDIENCE}")"

0 commit comments

Comments
 (0)