Skip to content

Commit

Permalink
Update connectedcar.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian authored Jun 21, 2022
1 parent 4471427 commit db0ba0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectedcar/connectedcar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit db0ba0f

Please sign in to comment.