Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Documentation: Add hint to set Content-Length header for post document (#8639)

Fabian Krüger7035445d6a81
diff --git a/docs/api.md b/docs/api.md
index 8b755b11d..49e63c04b 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -365,6 +365,10 @@ 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