Hi,
I am switching my system from Typo3 Flow to Neos Flow 7.
I know there have been groundbreaking changes regarding the response object.
Instead of my json data an array(0) is returned on a successful POST statement now.
I’ve read through the release notes but I don’t quite understand how I need to change my code:
class SubmissionRestController extends RestController {
..
public function createObjektAction(...) {
$this->response->setContentType('application/json');
$this->response->setContent('{"objektid":"1000"}');
$this->response->setStatus(201);
..
}
}