Added $urlEncode as an argument to Http::send