From ac425c277211024b0e8ea5d6ce7be16e7fba24cf Mon Sep 17 00:00:00 2001 From: Kunal Singh Date: Tue, 18 Feb 2025 14:06:03 +0530 Subject: [PATCH] fix(docs): missing information about correct PUT request endpoint in file upload --- docs/http.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/http.md b/docs/http.md index f05ccc9dda..80da5aa2eb 100644 --- a/docs/http.md +++ b/docs/http.md @@ -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