Requests made using cURL will be redirected unless you have a cookie with name "cf-noredir" and value "true".