cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTML Page requested that is normally updated, but (apparently) is n't via cUrl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 21 Nov 2005 13:57:00 +0100 (CET)

On Fri, 18 Nov 2005, mgerics wrote:

> There is an HTML page we access that is for uploading a file; successful or
> not, the page is redisplayed with a tracking number at the bottom in an
> input field. This page is then retained for tracking purposes.
>
> I can post the file alright, but the file I requested curl to output the
> result to does not contain the tracking number, just the original html
> source - it appears that the tracking number is not filled in.

It sounds as if the server reponds with a different page to your curl request
compared to the response your browser gets. Try adapting your request to look
more similar to your browser's.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-11-21