TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pintoo Yadav
NA
2.1k
406.4k
how to send data post Request in asp.net my code here:
Nov 14 2017 4:41 AM
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);
}
Reply
Answers (
4
)
Create Bar chart Dynamic data using MVC 4 with Jquery
how to set a decimal value to kendo numerictextboxfor