Curl ajax header XMLHttpRequest
Add the X-Requested-With: XMLHttpRequest header browsers send with javascript intiated requests to aid in debugging with curl.
curl -H "X-Requested-With: XMLHttpRequest"
Add the X-Requested-With: XMLHttpRequest header browsers send with javascript intiated requests to aid in debugging with curl.
curl -H "X-Requested-With: XMLHttpRequest"