Sunday, May 30, 2021

ssl certificate issue in restsharp api automation testing

 


ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;

  client.RemoteCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;

No comments:

Post a Comment