public void post(string a, string b, string c, string d)
{
ASCIIEncoding encoding = new ASCIIEncoding();
string postData = "code=" + a;
postData += ("&a=" + b);
postData += ("&b=" + c);
postData += ("&c=" + d);
byte[] data = encoding.GetBytes(postData);
HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create("https://codbazar.com/POPAuthenticate");
myRequest.Method = "POST";
myRequest.ContentType = "application/x-www-form-urlencoded";
myRequest.ContentLength = data.Length;
Stream newStream = myRequest.GetRequestStream();
newStream.Write(data, 0, data.Length);
newStream.Close();
Response.Redirect("https://codebazar.com/POPAuthenticate?" + postData);
// HttpHelper.RedirectAndPOST(this.Page, "https://codebazar.com/POPAuthenticate", postData);
}


Chetan RanpariyaRank #1,852 · 801 reputationPosted Nov 13, 2017, 11:47 PM EST
Pintoo YadavRank #2,303 · 613 reputationPosted Nov 13, 2017, 11:56 PM EST
Chetan RanpariyaRank #1,852 · 801 reputationPosted Nov 14, 2017, 1:10 AM EST
Pintoo YadavRank #2,303 · 613 reputationPosted Nov 14, 2017, 10:19 PM EST