cURL / Mailing Lists / curl-users / Single Mail


Re: Strange problem with curl involving cookies and post data

From: Ralph Mitchell <>
Date: Thu, 5 Mar 2009 10:56:10 -0600

On Thu, Mar 5, 2009 at 6:53 AM, Pieter Steyn <> wrote:

> Hi,
> Ok, I needed to use the -L switch too, to follow the redirect.
> But, end of the day I had the exact same problem as with wget. The
> ajax doesn't get dealt with properly and I end up with an empty div,
> where it's filled if I had used a browser.

From what I've seen of it, Ajax seems to be javascript, right? Curl doesn't
have a built-in javascript interpreter, and probably never will.

To get what you're after, you'll need to examine all the <script> sections
and download any script files, work out what they do, then try to replicate
that in your script.

Ralph Mitchell

List admin:
Received on 2009-03-05