How can i make the following post request in c#
fetch("http://172.16.1.1:8090/login.xml", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/x-www-form-urlencoded"
},
"referrer": "http://172.16.1.1:8090/httpclient.html",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "mode=191&username=21011012&password=4321&a=1668601840902&producttype=0",
"method": "POST",
"mode": "cors",
"credentials": "omit"
});
i want to mimic this post request in c#