2023-02-26 01:30

This commit is contained in:
2023-02-26 01:30:37 +09:00
commit 9a13ccbd17
122 changed files with 32148 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
const https = require('https');
const options = {
hostname: 'www.elex-project.com',
port: 443,
path: '/',
method: 'GET',
headers: { 'User-Agent': 'Elex Node' }
};
const request = https.request(options, (response) => {
console.log(`httpStatus: ${response.statusCode}`);
response.on('data', (data) => {
process.stdout.write(data);
});
});
request.on('error', (error) => {
console.error(error);
});
request.end();