UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON --> starting at object with constructor 'NativeTopology' code example
Example: res : [ Circular ] nodejs
http.get(url, function(err, response) {
if (err) console.log(err)
var data = ''
response.setEncoding('utf8')
response.on('data', function(d) {
data += d
})
response.on('end', function(d) {
res.send(data)
})
})