
Hi @Pratap Bangosavi
The issue related to default TLS settings of a web request. Please check your .Net Framework version in properties
You can change the version to 4.6 or later version to fix the issue. If you are using .Net Framework under 4.6. You can add following code to use tls12
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
Here is the result of your code
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.