Skip to content

fix(docs): missing information about correct PUT request endpoint in … #2158

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion docs/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,10 @@ Content-Type: application/json; charset=utf-8
When the model produces a file output,
the server sends the following request to upload the file to the configured URL:

> The file upload server (_output_file_prefix_) need to have a `PUT /upload/{filename}` endpoint for receiving `multipart/form-data` requests, and a `GET /upload/{filename}` endpoint for retrieving uploaded files.

```http
PUT /upload HTTP/1.1
PUT /upload/image.png HTTP/1.1
Host: example.com
Content-Type: multipart/form-data

Expand Down