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

any reason why use POST method? #2

Open
saiqulhaq opened this issue Feb 13, 2021 · 1 comment
Open

any reason why use POST method? #2

saiqulhaq opened this issue Feb 13, 2021 · 1 comment

Comments

@saiqulhaq
Copy link

<%= form_with url: load_messages_path do |form| %>

@imamulakhyar93
Copy link
Owner

Rails turbo doesn't assume GET method as turbo_stream request. They assume request as HTML

Yes I know it's a bit outside of the HTTP methods standard function😅 . but this did the trick to make the request work as turbo_stream.

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

2 participants