This thread is trying to answer question "Why does a post request work fine with Postman but gives a 400 error with Playwright and how can this issue be resolved?"
If it works in Postman but doesn't work from Playwright, then the request isn't exactly the same. Probably Postman does some magic which you aren't aware of and didn't implement in Playwright.
In Postman you can see in the console the full request which was sent. Then compare that with what Playwright sends and make adjustments.
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].