cURL / Mailing Lists / curl-users / Single Mail


Re: Curl basics

From: Brian Dessent <>
Date: Tue, 11 Mar 2008 23:15:46 -0700

andrew holway wrote:

> Im trying to get curl to activate some ajax stuff. How do I go about that.

Curl doesn't know or care about javascript or html or any of that. What
you need is to find out the exact URLs that the browser requests, what
parameters are set, how they are set (i.e. GET, POST with urlencoded
fields, POST with multipart fields), and if any cookies are set. The
best way to find all of this out is by observing the browser's behavior,
not looking at the page source. Use Wireshark or one of the in-browser
web developer tools that can tell you details of the HTTP transactions.

Received on 2008-03-12