From 7d61abeaea424a3fc2df28f7795ddd1ab419f794 Mon Sep 17 00:00:00 2001 From: Mathias Brodala Date: Tue, 3 Dec 2024 14:17:01 +0100 Subject: [PATCH] [BUGFIX] Use JSON content-type in BE request action --- Classes/Controller/BackendController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index 6f1d9e3a..91c2a627 100644 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -147,6 +147,9 @@ protected function request($url, $body) $url, 'GET', [ + 'headers' => [ + 'content-type' => 'application/json', + ], 'body' => $body ?: '', 'http_errors' => false, ]