Accept: multipart/mixed on a GraphQL subscription POST request. Try out the following example:
Example
Client Integration
To implement Server-Sent Events (SSE) with a GraphQL POST request, you’ll typically need to use a more custom approach than the standardEventSource. Here’s a full example using JavaScript’s fetch API with the ReadableStream interface. You can also copy paste this example in the Developer Console to test it.