From aaa4ee4c15308e4f54fe0e6edbc819381ed0b6ca Mon Sep 17 00:00:00 2001 From: sowmyaseshathri Date: Fri, 12 May 2023 10:42:20 +0530 Subject: [PATCH] SS-1252 Updated maxBodyLength in post method --- src/client.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client.js b/src/client.js index 48c4ced..0d1b921 100644 --- a/src/client.js +++ b/src/client.js @@ -35,6 +35,8 @@ export default class Client { url: this.url(path), headers: this.defaultHeader, data: buildQueryString(params), + maxContentLength: Infinity, + maxBodyLength: Infinity, timeout: timeout * 1000, proxy: this.api.proxy, };