Results 1 to 3 of 3

Thread: To POST http WebRequest!

  1. #1
    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?

  2. #2
    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.

  3. #3
    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();
    ...

Similar Threads

  1. How to fix HTTP error 307 Temporary Redirect (since HTTP/1.1)?
    By Charu Sharma in forum Networking & Security
    Replies: 6
    Last Post: 05-04-2012, 01:14 AM
  2. Replies: 1
    Last Post: 26-01-2012, 12:27 AM
  3. HTTP: 12029 no HTTP access for IE
    By Captainlumpy in forum Windows XP Support
    Replies: 5
    Last Post: 29-07-2010, 06:43 AM
  4. Http Post & Php Error
    By Savannah87 in forum Software Development
    Replies: 4
    Last Post: 17-04-2010, 03:50 AM
  5. Sending WebRequest over HTTPs
    By Pratyush in forum Software Development
    Replies: 3
    Last Post: 19-03-2009, 12:04 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,203,706.09935 seconds with 16 queries