From dbef4ffd0f55f72eddca404aafa1576b77211727 Mon Sep 17 00:00:00 2001 From: Christian Tischer Date: Wed, 28 Jan 2015 11:26:24 +0100 Subject: [PATCH] Changed API request to https --- NAApiClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NAApiClient.php b/NAApiClient.php index 0f369b5..51ad2b3 100644 --- a/NAApiClient.php +++ b/NAApiClient.php @@ -7,8 +7,8 @@ define('JSON_ERROR_TYPE',3); define('NOT_LOGGED_ERROR_TYPE', 4); //unable to get access token -define('BACKEND_BASE_URI', "http://api.netatmo.net/"); -define('BACKEND_SERVICES_URI', "http://api.netatmo.net/api"); +define('BACKEND_BASE_URI', "https://api.netatmo.net/"); +define('BACKEND_SERVICES_URI', "https://api.netatmo.net/api"); define('BACKEND_ACCESS_TOKEN_URI', "https://api.netatmo.net/oauth2/token"); define('BACKEND_AUTHORIZE_URI', "https://api.netatmo.net/oauth2/authorize");