New function: check_post_bad_request_syntax
Add tests checking that the platform/workspace/tab preference rest API endpoints behaves correctly when the client sends requests with bad syntax