We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c887bf8 commit d8528c2Copy full SHA for d8528c2
src/utils/curlRequestParser.ts
@@ -55,7 +55,7 @@ export class CurlRequestParser implements RequestParser {
55
let body = parsedArguments.d || parsedArguments.data || parsedArguments['data-ascii'] || parsedArguments['data-binary'] || parsedArguments['data-raw'];
56
if (Array.isArray(body)) {
57
body = body.join('&');
58
- } else {
+ } else if (body !== undefined) {
59
body = body.toString();
60
}
61
0 commit comments