From 87dbacebd9abc003c2c24debd2987786d47080d7 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 17 Aug 2023 18:47:48 +0200 Subject: [PATCH] add warning to use --data-binary when uploading attachments with curl --- doc/REST-CalDAV-CardDAV/Mail.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/REST-CalDAV-CardDAV/Mail.md b/doc/REST-CalDAV-CardDAV/Mail.md index 36a4f2a01e..523318d189 100644 --- a/doc/REST-CalDAV-CardDAV/Mail.md +++ b/doc/REST-CalDAV-CardDAV/Mail.md @@ -133,6 +133,7 @@ Location: https://example.org/egroupware/groupdav.php/mail/attachment/ "location": "/mail/attachments/--xM35lY" } ``` +> When using curl to upload attachments it's important to use ```--data-binary```, just ```-d``` or ```--data``` is NOT sufficient! - ```POST /mail[/]/vacation``` enable or disable vacation message or forwarding