From 1393a22046ec52f0b47603bc314fcb179b8489a0 Mon Sep 17 00:00:00 2001 From: Wessel Strengholt Date: Fri, 26 Feb 2021 09:25:07 +0100 Subject: [PATCH] Use https --- Client/PostcodeClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/PostcodeClient.php b/Client/PostcodeClient.php index 5d84d16..6159d37 100644 --- a/Client/PostcodeClient.php +++ b/Client/PostcodeClient.php @@ -45,7 +45,7 @@ public function fetchAddress($zipCode, $houseNumber) throw new InvalidPostcodeException('Given postcode incorrect'); } - $uri = sprintf("http://json.api-postcode.nl?postcode=%s&number=%s", $zipCode, $houseNumber); + $uri = sprintf("https://json.api-postcode.nl?postcode=%s&number=%s", $zipCode, $houseNumber); $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $uri);