You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to consume an API which will sent me some events through SSE. I've tried to use the EventStream library to do it, but since the API only responde via POST method, I was unable to use it.
Since then I've been trying to use request to do ti, but with no luck. I didn't understand how I can do a POST to the API and keep the connection open listening the events.
Is there any way to do it?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi all,
I need to consume an API which will sent me some events through SSE. I've tried to use the EventStream library to do it, but since the API only responde via POST method, I was unable to use it.
Since then I've been trying to use
request
to do ti, but with no luck. I didn't understand how I can do a POST to the API and keep the connection open listening the events.Is there any way to do it?
The text was updated successfully, but these errors were encountered: