Introduced CORS support for the REST API