From 50f5d6986f9ab5d6227809365c18e4759a1958c0 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 30 Apr 2025 12:55:12 +0200 Subject: [PATCH] --- 1-request.json | 14 ++++++++++++++ 2-response.json | 3 +++ README.rst | 7 +++++++ 3 files changed, 24 insertions(+) create mode 100644 1-request.json create mode 100644 2-response.json create mode 100644 README.rst diff --git a/1-request.json b/1-request.json new file mode 100644 index 0000000..9047b50 --- /dev/null +++ b/1-request.json @@ -0,0 +1,14 @@ +{ + "type": [ + { + "target_id": "event", + "target_type": "node_type" + } + ], + + "title": [ + { + "value": "20. Arbeitstreffen!!" + } + ] +} \ No newline at end of file diff --git a/2-response.json b/2-response.json new file mode 100644 index 0000000..791484e --- /dev/null +++ b/2-response.json @@ -0,0 +1,3 @@ +{ + "message": "No entity content received." +} \ No newline at end of file diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..393aa72 --- /dev/null +++ b/README.rst @@ -0,0 +1,7 @@ +The reason for my problem was that I had two slashes at the beginning:: + + PATCH //node/3230?_format=json HTTP/1.1 + +After removing one, it worked. + +The double slashes were redirected to a single slash, but the body was lost in the redirection. \ No newline at end of file -- 2.30.2