We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d05445c commit 8840c3dCopy full SHA for 8840c3d
1 file changed
lib/apicontrollersbase.js
@@ -85,7 +85,7 @@ class APIOperationBase {
85
method: 'POST',
86
headers: {
87
'Content-Type': 'application/json',
88
- 'Content-Length': this._request.length
+ 'Content-Length': Buffer.byteLength(JSON.stringify(this._request))
89
},
90
json: true,
91
timeout: config.timeout,
0 commit comments