#PL-89 Fixed. RestAPI: Added support for CORS (Cross-Origin Resource Sharing)