Using the playwright I want to get the Auth Token using the, how can this be done?
I've tried
await request.post('https://foobar/auth', {
data: {
accept: applicationJson
username: 'foo',
password: 'bar',
}
});
Is there some other format?