Description
Attached patch contains an new http response interceptor for the rest-api plugin which populates common headers into each response preventing CORS issues likely arise if the API is being consumed by SPAs hosted on different domains as the OFBiz instance does.
This implementation is currently being used in our projects were OFbiz serves as headless backend for Angular ERP/CRM/eCommerce single page applications.