Hi Akshat,
We don't have built in support right now for ignoring certificate errors. Take a look at a recent discussion about this, in there you will find a solution you can use if you are running on Windows desktop (WinHttp). Obviously there are security implications of ignoring certificate errors so please be careful. I added a feature request for this, vote for it if it is a blocker for you.
In regards to getting your code above to work, that is kind of hard to figure out just by looking at it. It would help if you had information about what happens when you run the program. Also do you need to include auth token explicitly above in your case?
Thanks,
Steve
We don't have built in support right now for ignoring certificate errors. Take a look at a recent discussion about this, in there you will find a solution you can use if you are running on Windows desktop (WinHttp). Obviously there are security implications of ignoring certificate errors so please be careful. I added a feature request for this, vote for it if it is a blocker for you.
In regards to getting your code above to work, that is kind of hard to figure out just by looking at it. It would help if you had information about what happens when you run the program. Also do you need to include auth token explicitly above in your case?
Thanks,
Steve