Using cURL to create AJAX requestMarch 18, 2014 in Uncategorized by nelson set header: ‘X-Requested-With: XMLHttpRequest’ curl -H 'X-Requested-With: XMLHttpRequest' http://localhost/api/blah