From 633f559715609758fa82fffdf1996a232fc3b04c Mon Sep 17 00:00:00 2001 From: fk Date: Tue, 7 Jan 2025 16:47:16 +0100 Subject: [PATCH] Documentation: Add hint to set Content-Length header --- docs/api.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api.md b/docs/api.md index 8b755b11d..300aeb0fa 100644 --- a/docs/api.md +++ b/docs/api.md @@ -365,6 +365,11 @@ The endpoint supports the following optional form fields: - `custom_fields`: An array of custom field ids to assign (with an empty value) to the document. + +!!! note + + Sending a `Content-Length` header with correct size is mandatory. + The endpoint will immediately return HTTP 200 if the document consumption process was started successfully, with the UUID of the consumption task as the data. No additional status information about the consumption process