Use request.body.read instead of request.body.string for PUT requests
Modifications so the application works correctly in Openshift DIY