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