From 7399cca9fe9d380db55ea09cfb7b70a74d6be577 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 20 Sep 2021 08:35:31 +0200 Subject: [PATCH] Update README.md --- doc/REST-CalDAV-CardDAV/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/REST-CalDAV-CardDAV/README.md b/doc/REST-CalDAV-CardDAV/README.md index 228f5f8061..695f21ae86 100644 --- a/doc/REST-CalDAV-CardDAV/README.md +++ b/doc/REST-CalDAV-CardDAV/README.md @@ -224,7 +224,7 @@ curl 'https://example.org/egroupware/groupdav.php/addressbook/5593' -H "Accept: ``` -* **POST** requests to collection with a "Content-Type: application/json" header add new entries in addressbook or calendar collections +* **POST** requests to collection with a ```Content-Type: application/json``` header add new entries in addressbook or calendar collections (Location header in response gives URL of new resource)
Example: POST request to create a new resource