Skip to content
Snippets Groups Projects
Commit d39596f4 authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[TASK] Convert payload to JSON based on request headers

The payload sent with the AJAX API is now automatically converted to a
JSON-encoded string, if the request's Content-Type header is set to
`application/json` or any variant of this.

Resolves: #90291
Releases: master
Change-Id: Ia81c74d9314fb56de99f4a74e073af7a671b472b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63140


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 59ac49ab
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment