write body
This commit is contained in:
parent
eb814160fe
commit
70184d7154
|
@ -34,6 +34,11 @@ const makeRequest = (url, options, callback, setReq) => {
|
|||
req.end();
|
||||
});
|
||||
});
|
||||
|
||||
if (options.body) {
|
||||
req.write(options.body)
|
||||
}
|
||||
|
||||
req.end();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue