Daily Archives: June 6, 2012

You are browsing the site archives by date.

How to fake ajax requests with cURL

If you need to fake ajax requests you can do this in the console (on Mac).

curl -H 'X-Requested-With: XMLHttpRequest' -d "my=var" http://localhost/en/my/page