I need to send a parameter that includes the "[" character to a WCF service. Although I first encode the parameter, when I look at the detail of the url, the character encoding "[" has disappeared. Any idea what it can be?
string parameter = System.Net.WebUtility.UrlEncode("naFwi@dipSoKSws[sdoO");
var httpClient = new HttpClient(new NativeMessageHandler());
httpClient.BaseAddress = new Uri("http://127.0.0.1:8080/");
var response = await httpClient.GetAsync(string.Format("Service.svc/function/{0}", parameter));