W3C home > Mailing lists > Public > www-forms@w3.org > November 2007

Automated Form submission

From: Big_Tecs <baker.hughes@mouser.com>
Date: Thu, 29 Nov 2007 10:03:52 -0800 (PST)
Message-ID: <14031515.post@talk.nabble.com>
To: www-forms@w3.org

Hey all,

Thanks for reading my question and for any insights offered.

I need to POST a form to a website that performs a comparative price quote. 
I'm trying to determine what and how to do this, and execute it from a
script so that the browser automagically opens for the user and displays the
results of the query.

Using Fiddler request builder, I've put together this info (below).  What of
this should I submit, and how?

Request Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, application/xaml+xml,
application/vnd.ms-xpsdocument, application/x-ms-xbap,
application/x-ms-application, */*
Referer: http://www.thewebsite.com/avail
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Proxy-Connection: Keep-Alive
Pragma: no-cache
Host: www.thewebsite.com

Request Body:
part=RK73H1ELTP2871F&FIND.x=30&FIND.y=10

Questions:
1) How do I submit the Request - stringing it behind the URL doesn't seem to
work.
2) What is the meaning of FIND.x=30&FIND.y=10 ? If a different part.no is
sent these variables need to change it seems (or else query errors out).

Thanks in Advance,
-Baker
-- 
View this message in context: http://www.nabble.com/Automated-Form-submission-tf4898946.html#a14031515
Sent from the w3.org - www-forms mailing list archive at Nabble.com.
Received on Friday, 30 November 2007 23:47:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:11 GMT