update for upload
This commit is contained in:
@ -28,7 +28,11 @@ https.get('https://natnats.mobilous.com/iniFileMover', (resp) => {
|
|||||||
|
|
||||||
// The whole response has been received. Print out the result.
|
// The whole response has been received. Print out the result.
|
||||||
resp.on('end', () => {
|
resp.on('end', () => {
|
||||||
console.log(data);
|
if(data !== 'no match'){
|
||||||
|
resdata = JSON.parse(data);
|
||||||
|
console.log(resdata);
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}).on("error", (err) => {
|
}).on("error", (err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user