0

現在、例外をスローする以下のコードがあります: UriFormatException: Invalid URI: The Authority/Host could not be parsed. WebRequest.Create 行で。私は何を間違っていますか?

        var path = "http:/mwo.smurfy-net.de/api/oauth2/token?grant_type=client_credentials&client_id=1&client_secret=2";
        var request = (HttpWebRequest)WebRequest.Create(path);
        request.AllowAutoRedirect = false;
        var response = request.GetResponse();
4

1 に答える 1