Skip to content

Commit

Permalink
Merge pull request #152 from pagemachine/backend-request-content-type…
Browse files Browse the repository at this point in the history
…-json

Use JSON content-type in BE request action
  • Loading branch information
mbrodala authored Dec 3, 2024
2 parents 499b164 + 7d61abe commit ab7d61e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/Controller/BackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ protected function request($url, $body)
$url,
'GET',
[
'headers' => [
'content-type' => 'application/json',
],
'body' => $body ?: '',
'http_errors' => false,
]
Expand Down

0 comments on commit ab7d61e

Please sign in to comment.