hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan at WPF <stefan.at....@googlemail.com>
Subject Re: Get value of a form field?
Date Mon, 30 Jan 2012 21:49:17 GMT
Thank you Ken, I have read the mentioned link, but that doesn't help me ):
I need to login to a website, which normally isn't a problem, but on the
login page there's a hidden field with a specific value that needs to be
send during the login (in addition to username and password). To send the
value of this hidden field during the login process, I need to get it's
value first - is that possible using httpclient? Normally I would say no as
it is no header field and something that needs to be parsed (not a task of
httpclient), but as httpclient can send forms, I am wondering if it maybe
is possible and I yet just didn't see how to do that?

2012/1/30 Ken Krugler <kkrugler_lists@transpac.com>

> Assuming you've already read
> http://hc.apache.org/httpcomponents-client-ga/primer.html, could you
> provide more details of what exactly you're trying to do with HttpClient?
> -- Ken
> On Jan 30, 2012, at 12:56pm, Stefan at WPF wrote:
> > Hello,
> >
> > using Apache HTTPClient, is it possible to get the value of a form field
> of
> > a website? I guess that's already considered parsing and therefore not
> part
> > of the httpclient? I am just a little bit irritated as it's possible to
> set
> > form values when using http post. Thanks for you help :-)
> >
> > Best regards
> > Stefan
> --------------------------
> Ken Krugler
> http://www.scaleunlimited.com
> custom big data solutions & training
> Hadoop, Cascading, Mahout & Solr

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message