79403253

Date: 2025-01-31 15:43:31
Score: 1
Natty:
Report link

If someone is using v4.x of FlUrl, here is another way to ignore the certificate warnings:

FlurlHttp.ConfigureClientForUrl("https://some-api.com/")
.ConfigureInnerHandler((handler) =>
{
        handler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => true;
 }
)  
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: apoorvadixit