Skip to content

Commit

Permalink
[fix][doc] typo in sql-rest-api.md (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samreay authored Jul 5, 2023
1 parent 0ab4daf commit 86aa945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/sql-rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This section lists resources that make up the Trino REST API v1.

All requests for Trino services should use Trino REST API v1 version.

To request services, use the explicit URL `http://trino.service:8081/v1``. You need to update `trino.service:8081` with your real Trino address before sending requests.
To request services, use the explicit URL `http://trino.service:8081/v1`. You need to update `trino.service:8081` with your real Trino address before sending requests.

`POST` requests require the `X-Trino-User` header. If you use authentication, you must use the same `username` that is specified in the authentication configuration. If you do not use authentication, you can specify anything for `username`.

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-3.0.x/sql-rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This section lists resources that make up the Trino REST API v1.

All requests for Trino services should use Trino REST API v1 version.

To request services, use the explicit URL `http://trino.service:8081/v1``. You need to update `trino.service:8081` with your real Trino address before sending requests.
To request services, use the explicit URL `http://trino.service:8081/v1`. You need to update `trino.service:8081` with your real Trino address before sending requests.

`POST` requests require the `X-Trino-User` header. If you use authentication, you must use the same `username` that is specified in the authentication configuration. If you do not use authentication, you can specify anything for `username`.

Expand Down

0 comments on commit 86aa945

Please sign in to comment.