0

I've implemented event source streaming (http://www.w3schools.com/html/html5_serversentevents.asp) at the server side via a POST request with some parameters. I mean, when I send a POST request to the server with some parameters, it returns the result based on the parameters. I've tested it with the Insomnia App of Google Chrome and it works but I'm afraid the EventSource API in javascript does not let me to send a POST request to the server.

Am I missing something? Is sending a POST request to an URI that serves an event stream not a standard?

vicaba
  • 2,836
  • 1
  • 27
  • 45

0 Answers0