Fixing login request in loadtest (#43750)
This commit is contained in:
1 parent
8b45eb1161
commit
79bf0fc3d1
1 file changed
+1
-1
@@ -8,7 +8,7 @@ export const UIEndpoint = class UIEndpoint {
|
||||
|
||||
login(username, pwd) {
|
||||
const payload = { user: username, password: pwd };
|
||||
return this.httpClient.formPost('/login', payload);
|
||||
return this.httpClient.post('/login', JSON.stringify(payload));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user