Non-Remote Non-GET Links with Request Entities #220

Open
yfeldblum opened this Issue Nov 9, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@yfeldblum

Feature Suggestion: Support non-remote non-get links with request entities.

Given the following:

link_to title, resource, :method => :put, :data => { :params => { "a" => "x", "b" => "y" } }

This, when clicked, should send a PUT request with the params above as the request entity in either text/www-url-form-encoded or application/json. It looks like there's code to handle this scenario in a :remote => true link; handle this case even when it is not a :remote => true link.

@yfeldblum yfeldblum referenced this issue in rails/jquery-rails Nov 9, 2011

Closed

Non-Remote Non-GET Links with Request Entities #29

@gkop

This comment has been minimized.

Show comment Hide comment
@gkop

gkop Feb 23, 2016

This seems useful and feasible.

gkop commented Feb 23, 2016

This seems useful and feasible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment