mirror of
https://github.com/foss42/apidash.git
synced 2025-06-13 17:09:07 +08:00
update: bug fixes.
This commit is contained in:
@ -68,7 +68,7 @@ echo \$res->getBody();
|
|||||||
[
|
[
|
||||||
'name' => '${field['name']}',
|
'name' => '${field['name']}',
|
||||||
'contents' => '${field['value']}'
|
'contents' => '${field['value']}'
|
||||||
],''';
|
],\n''';
|
||||||
}).join(),
|
}).join(),
|
||||||
});
|
});
|
||||||
result += renderedMultiPartBody;
|
result += renderedMultiPartBody;
|
||||||
@ -148,8 +148,8 @@ echo \$res->getBody();
|
|||||||
"url": stripUrlParams(requestModel.url),
|
"url": stripUrlParams(requestModel.url),
|
||||||
"method": harJson["method"].toLowerCase(),
|
"method": harJson["method"].toLowerCase(),
|
||||||
"queryParams":
|
"queryParams":
|
||||||
harJson["queryString"].isNotEmpty ? ". \$queryParamsStr," : "",
|
harJson["queryString"].isNotEmpty ? ". \$queryParamsStr" : "",
|
||||||
"headers": harJson["headers"].isNotEmpty ? " \$headers," : "",
|
"headers": harJson["headers"].isNotEmpty ? ", \$headers," : "",
|
||||||
"body": getRequestBody(harJson),
|
"body": getRequestBody(harJson),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user