Hi all,
How does one POST information to a controller action from outside of
the rails application?
I want to be able to POST default data that is not selected within a
form.
Chris
Hi all,
How does one POST information to a controller action from outside of
the rails application?
I want to be able to POST default data that is not selected within a
form.
Chris
sounds like something that cURL could do
Are you talking about from another page? Or from a script that runs
automatically/on the command line?
If you’re talking about another page, simply setup a form that uses
the POST method and point its action towards your action (e.g.,
http://www.mysite.com/action_name/). If it’s from a script, cURL
should do the trick.
–Jeremy
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs