That depends on what your using, CGI or LWP.

A CGI example might be

$q->start_form(-method=>'POST').....

Your need to check out the documentation for a full explanation.

HTH,
Dp.



On 28 Feb 2007 at 19:05, Tatiana Lloret Iglesias wrote:

> Yes! that's the problem, GET method doesnt allow very very long url's ...
> how can I use POST from Perl code? do you have any example?
> 
> Thanks!
> T
> 
> 
> On 2/28/07, Beginner <[EMAIL PROTECTED]> wrote:
> >
> > I think GET request are restricted to 256 characters, try using POST
> > instead.
> >
> > HTH,
> > Dp.
> >
> >
> > On 28 Feb 2007 at 18:57, Tatiana Lloret Iglesias wrote:
> >
> > > Hi all,
> > >
> > > i have to browse a very long URL from my PERL script and it fails:
> > >
> > >
> > http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&u=%2Fnetahtml%2FPTO%2Fsearch-adv.html&r=0&p=1&f=S&l=50&Query=%28%22NRF3%22+AND+%22Colorectal+Cancer%22%29+OR+%28%22NRF3%22+AND+%22Colorectal+Carcinoma%22%29+OR+%28%22NRF3%22+AND+%22Colorectal+Tumors%22%29+OR+%28%22NRF3%22+AND+%22Neoplasms%2C+Colorectal%22%29+OR+%28%22NRF3%22+AND+%22colorectal+cancer%22%29+OR+%28nfe2l3+AND+%22Colorectal+Cancer%22%29+OR+%28nfe2l3+AND+%22Colorectal+Carcinoma%22%29+OR+%28nfe2l3+AND+%22Colorectal+Tumors%22%29+OR+%28nfe2l3+AND+%22Neoplasms%2C+Colorectal%22%29+OR+%28nfe2l3+AND+%22colorectal+cancer%22%29+&d=PG01
> > >
> > > Do you know how to make it works??
> > >
> > > Thanks a lot!
> > > T
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > http://learn.perl.org/
> >
> >
> >
> 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to