We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07811de commit 06a9d88Copy full SHA for 06a9d88
src/Authentication/OAuth2Client.ts
@@ -58,7 +58,7 @@ export class OAuth2Client {
58
*/
59
public async getAccessTokenFromRefreshToken(refreshToken: string): Promise<AccessToken> {
60
return await axios
61
- .put(
+ .post(
62
'https://api.mps.ford.com/api/token/v2/cat-with-refresh-token',
63
{
64
refresh_token: refreshToken,
@@ -109,7 +109,7 @@ export class OAuth2Client {
109
.then(async res => {
110
if (res.status === 200 && res.data.access_token) {
111
112
113
'https://api.mps.ford.com/api/token/v2/cat-with-ci-access-token',
114
115
ciToken: res.data.access_token,
0 commit comments