I have two asp.net mvc-4 and mvc-5 web applications, now in my first asp.net mvc I have the following WebClientto call the action method (Home / CreateResource) in the second web application: -
using (WebClient wc = new WebClient())
{
var data = JsonConvert.SerializeObject(cr);
string url = scanningurl + "Home/CreateResource";
Uri uri = new Uri(url);
wc.Headers.Add(HttpRequestHeader.ContentType, "application/json");
wc.Headers.Add("Authorization", token);
output = wc.UploadString(uri, data);
}
now inside the object datathat is passed to the second method of action, it contains a value for the password, and this value is equal in my case ££123, which has 2 non-ASCII characters ..
Now, according to the second method of action, he will take the above value as follows: -

- , , ASCII, ? , , . - , ?