Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Jobs] [Doc] Add note about trailing slash for REST API #41561

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Continue on for examples, or jump to the :ref:`OpenAPI specification <ray-job-re
import time

resp = requests.post(
"https://127.0.0.1:8265/api/jobs/",
"https://127.0.0.1:8265/api/jobs/", # Don't forget the trailing slash!
json={
"entrypoint": "echo hello",
"runtime_env": {},
Expand Down Expand Up @@ -72,4 +72,4 @@ OpenAPI Documentation (Beta)

We provide an OpenAPI specification for the Ray Job API. You can use this to generate client libraries for other languages.

View the `Ray Jobs REST API OpenAPI documentation <api.html>`_.
View the `Ray Jobs REST API OpenAPI documentation <api.html>`_.
Loading