Fixed curlOptions configuration