From db0ba0f2f92fd2f2af789a05cbbaa891a07d8b37 Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 21 Jun 2022 14:14:42 -0500 Subject: [PATCH] Update connectedcar.py --- connectedcar/connectedcar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectedcar/connectedcar.py b/connectedcar/connectedcar.py index 44d6d1d..ee4705a 100644 --- a/connectedcar/connectedcar.py +++ b/connectedcar/connectedcar.py @@ -73,7 +73,7 @@ def get_user_access_token(self, username, password): } response = requester.call( - 'PUT', 'https://api.mps.ford.com/api/token/v2/cat-with-ci-access-token', headers=headers, data=json.dumps(data)).json() + 'POST', 'https://api.mps.ford.com/api/token/v2/cat-with-ci-access-token', headers=headers, data=json.dumps(data)).json() return response @@ -109,5 +109,5 @@ def exchange_refresh_token(self, refresh_token): } response = requester.call( - 'PUT', 'https://api.mps.ford.com/api/token/v2/cat-with-refresh-token', headers=headers, data=json.dumps(data)).json() + 'POST', 'https://api.mps.ford.com/api/token/v2/cat-with-refresh-token', headers=headers, data=json.dumps(data)).json() return response