add function curl_get_with_ip