Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 02-02-2009
Member
 
Join Date: Jan 2009
Posts: 18
To POST http WebRequest!

I want to create a POST Https Webrequest.
But dont know how to do this?
Do i need to encrypt?
Reply With Quote
  #2  
Old 02-02-2009
Member
 
Join Date: May 2008
Posts: 63
Re: To POST http WebRequest!

Hello RadhaV,
http://msdn.microsoft.com/en-us/library/debx8sh9.aspx
This is what you need to go through before understanding encryption.
Reply With Quote
  #3  
Old 02-02-2009
Member
 
Join Date: May 2008
Posts: 115
Re: To POST http WebRequest!

If you are unable to post try this:

Code:
// .NET 2.0+
...
ServicePointManager.ServerCertificateValidationCallback += MyValidationCallback
...
public bool MyValidationCallback(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors err)
{
  return true;
}

// .NET 1.1
public class MyCertificatePolicy : ICertificatePolicy
{
  public bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem)
  {
    return true;
  }
}
...
ServicePointManager.CertificatePolicy = new MyCertificatePolicy();
...
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "To POST http WebRequest!"
Thread Thread Starter Forum Replies Last Post
How to fix HTTP error 307 Temporary Redirect (since HTTP/1.1)? Charu Sharma Networking & Security 6 05-04-2012 01:14 AM
want to send hidden chronicles post to neighbors but instead post is going to general feed. Shiraj Video Games 1 26-01-2012 12:27 AM
HTTP: 12029 no HTTP access for IE Captainlumpy Windows XP Support 5 29-07-2010 06:43 AM
Http Post & Php Error Savannah87 Software Development 4 17-04-2010 03:50 AM
Sending WebRequest over HTTPs Pratyush Software Development 3 19-03-2009 12:04 PM


All times are GMT +5.5. The time now is 05:17 PM.