Re: POSTing data

Jeremy McAnally
Fri, 22 Dec 2006 16:09:02 -0000

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

On 12/21/06, Chris Finch
<cptfinch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> 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
>
>
> >
>