Skip to Content
Former Member
Nov 17, 2017 at 01:53 PM

Enabling SSE between HTML5 app and Java app hosted in the Cloud Platform


Hey all,

Is it possible to enable CORS with the Cloud Platform for SSE(Server Side Events)? For regular ajax requests it is easy to just make a destination for communication between apps but for the purpose of SSEs using a destination causes my call to time out every time. While using CORS is all right but only if I have logged in the server app (otherwise my header returns a response prompting me to send login data). Is there any way to authenticate to enable CORS between two apps hosted in the Cloud Platform (one HTML5 app and one JAVA app) without using destinations?

Thanks in advance