[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Small contracted programming task involving an HTTP redirect
- To: <firstname.lastname@example.org>
- Subject: RE: Small contracted programming task involving an HTTP redirect
- From: "Kevin Brown" <email@example.com>
- Date: Thu, 16 Oct 2003 16:17:28 -0400
- Importance: Normal
- In-Reply-To: <firstname.lastname@example.org>
And libwww has been handy at times as well.
From: Jason Chambers [mailto:email@example.com]
Sent: Wednesday, October 15, 2003 7:47 PM
To: firstname.lastname@example.org; email@example.com
Subject: Re: Small contracted programming task involving an HTTP
I am not offering my services, merely advice.
Utilities exist that appear to meet your requirements. I personally use
cURL http://curl.sourceforge.net/ but there is also wget
Hope this helps!
At 09:38 AM 10/15/2003 -0400, Chris Abney wrote:
>I would like find someone else to handle two projects that I am doing for
>someone. If anyone is interested, send me an email.
>Both projects follow the same high level flow:
>1. retrieve a web page that contains a query form with a submit button
>2. "submit" the form with one data value supplied
>3. store the returned html in a file.
>They do not need GUI's and are to run on the console like a Unix utility
>I have already written this kind of utility once so I thought that I cold
>make small modifications to that code and charge about $150 each for the
>On my attempt on one, I ran into a bug related to the HTTP redirect issue
>in step 2.
>On the other, I was stopped at step 1 because the server responds with
>"Method not allowed".
>This would be for pay of course.
>If you email, I can give you more information.
>Chris Abney wrote:
>>I was asked to write a small utility to grab some data from the web.
>>The utility needs to do the following:
>>1. retrieve a web page that contains a query form with a submit button
>>2. "submit" the form with one data value supplied
>>3. store the returned html in a file.
>>The problem I have is with step 2.
>>When I ran through the steps on a browser using an HTTP snooping program,
>>it seemed that the server redirects the query to another location.
>>Instead of passing my supplied data to the new location, the server
>>return a code to be used.
>>The browser then sends another HTTP call to the second location using
>>I don't have experience programming HTTP requests that have to deal with
>>Does anyone have any ideas of a good way to handle this task?