cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Help with POST method

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Oct 2006 14:53:56 +0200 (CEST)

On Tue, 17 Oct 2006, Ravi Malghan wrote:

> Can someone help me with filling up the -d option.

In general, there are two good ways to figure this out.

1 - save the HTML locally and change the method to GET and then submit the
     form using your browser. The address field of your browser will then
     contain the data you want to include in your -d data.

2 - use LiveHTTPheaders to trace what your browser sends

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-10-17