Skip to content
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