Skip to content

Commit

Permalink
fix: update security method validatessl (#961)
Browse files Browse the repository at this point in the history
* update security method validatessl
  • Loading branch information
AsabuHere committed Oct 4, 2023
1 parent 392fedd commit 316114b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/base/BaseTwilio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ namespace Twilio {

/* jshint ignore:start */
/**
* Validates that a request to the new SSL certificate is successful.
* Test if your environment is impacted by a TLS or certificate
* change is by sending an HTTP request to the test endpoint
*
* @throws RestException if the request fails
*
Expand All @@ -244,7 +245,7 @@ namespace Twilio {
return this.httpClient
?.request({
method: "get",
uri: "https://api.twilio.com:8443/2010-04-01/.json",
uri: "https://tls-test.twilio.com:443",
})
.then((response: any) => {
if (response["statusCode"] < 200 || response["statusCode"] >= 300) {
Expand Down

0 comments on commit 316114b

Please sign in to comment.