removing CURLOPT_FOLLOWLOCATION from curl request