@Ganesh
HTTP 401 Unauthorized, ( http://username:password@server:port, )
using (var webClient = new WebClient())
{
webClient.Credentials = new NetworkCredential(username, password);
var json = "{\"jsonrpc\":\"2.0\",\"method\":\"GUI.ShowNotification\",\"params\":{\"title\":\"This is the title of the message\",\"message\":\"This is the body of the message\"},\"id\":1}";
response = webClient.UploadString($"http://{server}:{port}/jsonrpc", "POST", json);
}