update: bug fixes.

This commit is contained in:
Aashutosh soni
2024-03-19 17:10:25 +05:30
parent 9b4076363d
commit 6bd7aeebe3

View File

@ -68,7 +68,7 @@ echo \$res->getBody();
[
'name' => '${field['name']}',
'contents' => '${field['value']}'
],''';
],\n''';
}).join(),
});
result += renderedMultiPartBody;
@ -148,8 +148,8 @@ echo \$res->getBody();
"url": stripUrlParams(requestModel.url),
"method": harJson["method"].toLowerCase(),
"queryParams":
harJson["queryString"].isNotEmpty ? ". \$queryParamsStr," : "",
"headers": harJson["headers"].isNotEmpty ? " \$headers," : "",
harJson["queryString"].isNotEmpty ? ". \$queryParamsStr" : "",
"headers": harJson["headers"].isNotEmpty ? ", \$headers," : "",
"body": getRequestBody(harJson),
});