node-rest-client
node-rest-client copied to clipboard
add maxBodyLength to enable parameter config
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.