ASCIIEncoding encoding = new ASCIIEncoding();
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("https://localhost/app/view:Join/signupId:12587");
string
postData = "";
postData
+= "member_id=";
postData
+= "&prev_member_email=";
postData
+= "&signup_name=none";
postData
+= "&private_set=2";
postData
+= "&groups[]=4352,6389";
byte[]
data = encoding.GetBytes(postData);
req.Method
= "POST";
req.ContentType
= "application/x-ww-form-urlencoded";
req.ContentLength
= data.Length;
Stream
reqStream = req.GetRequestStream();
// Send the data.
reqStream.Write(data,
0, data.Length);
reqStream.Close();
DUANE BOUDREAU |
SANDY BAY NETWORKS
PRESIDENT AND CHIEF TECHNOLOGY OFFICER
P: 902.232.2345 x222 | P: 603.879.0249
x222 | F: 866.631.6272
SMART PEOPLE. SMART SOLUTIONS. | http://www.sandybay.com
______________________________________________________________________________________
Confidentiality Notice: This message including any
attachments is for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
Any
unauthorized review, use, disclosure or distribution is prohibited. If you are
not the intended
recipient, please contact the sender and delete any copies of this message.