Update Endpoint REST API to support CORS endpointsSigned-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>