fixes #5355
Merge pull request #5467 from dotCMS/issue-5355-rest-api-doesnt-allow-jsonp-response-saving-content

fixes #5355