Skip to content

Commit

Permalink
Use https
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivella authored Feb 26, 2021
1 parent f118535 commit 1393a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/PostcodeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1393a22

Please sign in to comment.