Using TLSv1.2 with webread
Show older comments
I have been consuming a RESTful API for a secure web service my company supports using webread. However, they recently disabled TLSv1 connections for security reasons, and they now require TLSv1.1 or TLSv1.2. This seems to have broken my code. Is anyone aware of a way to change settings such that TLSv1.1 or TLSv1.2 would be used with webread or am I looking at trying to replicate this functionality using .NET?
1 Comment
Paolo
on 18 May 2018
weboptions allows you to add HTTP headers. You can add the HTTP header you require to weboptions with the 'KeyName' and 'KeyValue' pairs.
Accepted Answer
More Answers (0)
Categories
Find more on Downloads in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!