Forget cURL, use wp_remote_fopen! | myWordPress.