Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[💫 Feature Request ] Allow SSE to use POST /w payload #3145

Open
XChikuX opened this issue Jan 24, 2025 · 0 comments
Open

[💫 Feature Request ] Allow SSE to use POST /w payload #3145

XChikuX opened this issue Jan 24, 2025 · 0 comments

Comments

@XChikuX
Copy link

XChikuX commented Jan 24, 2025

There is no technical reason to prevent SSE from sending a POST request or limiting the API to be payload-less

This issue is a very modest request to allow more advanced payloads for SSE.

I looked for existing implimentations and found This

I've already integrated it as an EventSource drop-in replacement to SSE and it works great.

Upon adding a payload (namely a captcha) and making it a POST request, everything works as expected and is very stable.

Would it be possible to integrate htmx 2.0 SSE extention with this solution?

Check https://dbounce.me (Bulk verification) for a working example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant