cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: problem with post form

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 10 May 2002 16:09:26 +0200 (MET DST)

On Fri, 10 May 2002, [ISO-8859-2] Apró Szabolcs wrote:

> I think the problem must be something else as you mentioned like
> user-agent, cookie or referer checks, but I dont know how to work with
> them, how to step forward, how can I decide which of these I sould use?

Use -i to see what HTTP headers you get back. It is very likely that is sends
you a Location: header and then you need -L to make curl follow that.

Again, you really *should* read the "Scripting HTTP Requests Using Curl"
document before trying this, it would save you some time and trouble:

        http://curl.haxx.se/docs/httpscripting.shtml

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-10