[Catalyst] firing a POST method with Test::WWW::Mechanize

Daniel McBrearty danielmcbrearty at gmail.com
Tue Aug 7 14:51:02 GMT 2007


thanks. what Michael said covers it, I think - I searched POST in the
docs and didn't find, but perhaps too hastily ... :-)

On 8/6/07, Jonathan T. Rockway <jon at jrock.us> wrote:
> On Mon, Aug 06, 2007 at 06:24:43PM +0200, Daniel McBrearty wrote:
> > I want to do this by just making the POST request (not telling $mech
> > to click/submit somewhere). I don't see any obvious way of doing it.
>
> Test::WWW::Mechanize::Catalyst isa Test::WWW::Mechanize isa
> WWW::Mechanize isa LWP::UserAgent.  Mech has a way of filling out
> forms and posting, and LWP::UserAgent is happy to send a POST
> HTTP::Request object.  Take a look at the docs up the @ISA chain and
> see if anything does what you want.
>
> If not, let us know.  (Explain what you are trying to achieve :)
>
> Regards,
> Jonathan Rockway
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>


-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
http://www.engoi.com
http://danmcb.vox.com
http://danmcb.blogger.com
find me on linkedin and facebook
BTW : 0873928131



More information about the Catalyst mailing list