Initial work to use CrossOriginResourceSharing annotation INCOMPLETE.