[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] post-data question

From: Stef Caunter
Subject: Re: [Lynx-dev] post-data question
Date: Fri, 14 May 2004 04:42:16 -0400 (EDT)

Here is an example:

lynx -dump -auth=user:pass -cookie_save_file=foo -post_data < my_data >

which does:

-dump: exit after the one operation
-auth: provide colon-separated username and password
-cookie_save_file: specifies file in which cookies get saved; file will be
populated with existing cookies from location specified in lynx.cfg so you
might want to change that if you just need the one from the single transaction
-post_data: file location read as STDIN containing name=value&foo=bar strings
or whatever you want to POST

follow this construction with the URL, and redirect STDIN and optionally


(tested on)...

On Fri, 14 May 2004 address@hidden wrote:

> please send questions to the Lynx mailing-list,
> to which i have forwarded this.
> > I noticed the option -post_data
> > which looks like it will be really helpful to a project of mine.
> > I'm trying to submit a login and password to a form
> > and I'd like to do it from the command line and use the resultant cookie.
> > However, I don't quite understand the usage.  Could you elaborate please?
> --
> ========================,,============================================
> SUPPORT     ___________//___,  Philip Webb : address@hidden
> ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
> TRANSIT    `-O----------O---'  University of Toronto
> _______________________________________________
> Lynx-dev mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]