node-rest-client icon indicating copy to clipboard operation
node-rest-client copied to clipboard

add maxBodyLength to enable parameter config

Open xabixab opened this issue 6 years ago • 0 comments

By adding the item to that array it is possible to configure maxBodyLength. Sometimes is needed to transfer a file as a base64 parameter and 10mb may not be enough.

Now would be possible to configurate by passing

          requestConfig: {
            maxBodyLength: 50 * 1024 * 1024
          }

to args to the request. This would enable 50mb body request.

xabixab avatar Jun 17 '18 22:06 xabixab