0

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?

Huckleberry Carignan
  • 2,002
  • 4
  • 17
  • 33

0 Answers0