he request was aborted: Could not create SSL/TLS secure channel.. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse code example
Example: the request was aborted could not create ssl/tls secure channel. c# restsharp
//Add this line of code before RestClient
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;