fix(cli): update qs.stringify to use repeat array format for url serialization

This commit is contained in:
Pragadesh-45
2025-06-19 20:02:25 +05:45
parent 4664fd60b5
commit 0d13d40cd7

View File

@@ -330,7 +330,7 @@ const runSingleRequest = async function (
// stringify the request url encoded params
if (request.headers['content-type'] === 'application/x-www-form-urlencoded') {
request.data = qs.stringify(request.data);
request.data = qs.stringify(request.data, { arrayFormat: "repeat" });
}
if (request?.headers?.['content-type'] === 'multipart/form-data') {