Output of the "Getting the JSON request body as an array with Symfony" Symfony snippet
Environment:
- Strangebuzz Snippet VM: 6.4.9
- PHP: 8.4
- Symfony: 6.4.20
Code execution output:
Request body is empty.
New request body is not empty and valid:
array(1) {
["foo"]=>
string(3) "bar"
}