write the post_body before returning the request object
This commit is contained in:
parent
2fa7f4ecb7
commit
72648d0bfc
@ -250,6 +250,9 @@ exports.OAuth.prototype._performSecureRequest= function( oauth_token, oauth_toke
|
|||||||
request.end();
|
request.end();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if( method == "POST" && post_body != null && post_body != "" ) {
|
||||||
|
request.write(post_body);
|
||||||
|
}
|
||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user