cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: http post?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 26 Aug 2002 17:19:07 +0200 (MET DST)

On Mon, 26 Aug 2002 wespe_at_freesurf.ch wrote:

> i tried this from the command line:
> curl -d "Number=012420301" http://www.weisseseiten.ch/
>
> but it didn't work...

1. curl -o weisse http://www.weisseseiten.ch/

2. formfind < weisse
--- FORM report. Uses POST to URL
"/application/visualization/start_result-tr.asp"
Input: Name (TEXT)
Input: FirstnameJob (TEXT)
Input: Number (TEXT)
Input: Address (TEXT)
Input: ZipCity (TEXT)
Select: sel_Area
Input: Similar=checked (CHECKBOX)
Input: OwnPhoneNumber (TEXT)
--- end of FORM

3. Use this info you build a proper -d with all info that the site expects
   and post to the proper URL that the action keyword points out!

The formfind is a perl script I wrote years ago that is available here:
http://curl.haxx.se/curlprograms.html

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-08-26