write body

This commit is contained in:
eternal 2023-05-23 19:42:33 +01:00 committed by GitHub
parent eb814160fe
commit 70184d7154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,11 @@ const makeRequest = (url, options, callback, setReq) => {
req.end();
});
});
if (options.body) {
req.write(options.body)
}
req.end();
};