in reply to How to send queries to a website

You can do exactly what you ask quite simply using WWW::Mechanize. Since you are only repeatedly submitting POSTs to a web service, you can accomplish your task with less overhead using LWP::UserAgent as well. Examples in the documentation should provide all the direction you need (WWW::Mechanize::Cookbook, lwpcook).

I would also comment that the way you've described your issue sounds like abuse. I'm sure that's not what you have in mind, though...

Replies are listed 'Best First'.
Re^2: How to send queries to a website
by Anonymous Monk on Sep 10, 2010 at 18:10 UTC
    Is it OK so far?
    use WWW::Mechanize; $url = '.........'; $mech = WWW::Mechanize->new(); $mech->get( $url ); $result = $mech->submit_form ( form_number => 0, fields => { context => 'Hello world', } );

    I'm supposed to get an html file as a response, what can I do to see if was created?