Test API upload file using Playwright when having both multipart and formdata

Playwright request currently does not support having both multipart and formdata. It only supports one type of multipart, formdata, or data alone. So how do we pass the form data along with multipart.

Donald Le
2 min readFeb 23, 2023

--

Photo by Austvika

--

--

Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.