From 0955dbad3326ee4b6e804dc4877cf1184fd2bbd7 Mon Sep 17 00:00:00 2001 From: Tristan Hall Date: Sat, 13 Mar 2021 14:57:58 -0500 Subject: [PATCH] =?UTF-8?q?Replace=20=E2=80=9Chttp=E2=80=9D=20with=20?= =?UTF-8?q?=E2=80=9Chttps=E2=80=9D=20in=20API=20URLs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tristan Hall --- src/TrackConfirm.php | 2 +- src/USPSBase.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TrackConfirm.php b/src/TrackConfirm.php index 02e3334..bebaa59 100644 --- a/src/TrackConfirm.php +++ b/src/TrackConfirm.php @@ -18,7 +18,7 @@ class TrackConfirm extends USPSBase public function getEndpoint() { - return self::$testMode ? 'http://production.shippingapis.com/ShippingAPITest.dll' : 'http://production.shippingapis.com/ShippingAPI.dll'; + return self::$testMode ? 'https://production.shippingapis.com/ShippingAPITest.dll' : 'https://production.shippingapis.com/ShippingAPI.dll'; } /** diff --git a/src/USPSBase.php b/src/USPSBase.php index 71f4d26..9bc8b9a 100644 --- a/src/USPSBase.php +++ b/src/USPSBase.php @@ -13,7 +13,7 @@ abstract class USPSBase { const LIVE_API_URL = 'https://secure.shippingapis.com/ShippingAPI.dll'; - const TEST_API_URL = 'http://production.shippingapis.com/ShippingAPITest.dll'; + const TEST_API_URL = 'https://production.shippingapis.com/ShippingAPITest.dll'; /** * @var string - the usps username provided by the usps website