System.UriFormatException 发生在 system.dll

System.UriFormatException occurred in system.dll

我正在 visual studio 中制作一个 .net 应用程序,它使用获取请求在 运行escape wiki 上查找信息。当我尝试

public string GET(string url)
    {
        WebRequest wrGetURL;
        wrGetURL = WebRequest.Create(url);
        wrGetURL.Proxy = WebProxy.GetDefaultProxy();
        Stream responseStream;
        responseStream = wrGetURL.GetResponse().GetResponseStream();

        StreamReader objReader = new StreamReader(responseStream);

        string sLine = "";
        int i = 0;
        string response = "";

        while (sLine != null)
        {
            i++;
            sLine = objReader.ReadLine();
            if (sLine != null)
                response = response + sLine;
        }

        return response;
    }

当我运行以下代码时:

string response = GET("runescape.wikia.com/api/v1/Articles/AsSimpleJson?id=4115");

我收到错误消息:'System.UriFormatException' 类型的未处理异常发生在 System.dll

附加信息:无效的 URI:无法确定 URI 的格式。

有人知道该怎么办吗?

在 GET()

中将 uri 添加为“http://runescape.wikia.com/api/v1/Articles/AsSimpleJson?id=4115