Forum: Ruby on Rails POSTing data

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Da49db960449a82c1360be3a108a2cbb?d=identicon&s=25 Chris Finch (Guest)
on 2006-12-21 12:38
(Received via mailing list)
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

E965534251aafd369f800674793d0223?d=identicon&s=25 Chad (Guest)
on 2006-12-22 17:01
(Received via mailing list)
sounds like something that cURL could do
6d3c187a8b3ef53b08e3e7e8572c4fea?d=identicon&s=25 Jeremy McAnally (Guest)
on 2006-12-22 20:50
(Received via mailing list)
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.,  If it's from a script, cURL
should do the trick.

This topic is locked and can not be replied to.