How does node.js plus express access data across domains

  node.js, question

http://pv.sohu.com/cityjson? ie=utf-8

I want to get the data from the above webpage in cip, cname … in the following code. Can I get it directly across domains on the server side? Can CORS do it, and if so, how?

router.post('/giveLike', function(req, res) {
 var admin = {
 cip:
 cname:
 cid:
 bracket
 Admin.checkLiked(ip, function(err, status) {
 if(err) {
 res.send('Database Connect Error, Please try again later');
 bracket
 if (!  status) {
 Admin.saveLike(ip, function(err, admin) {
 if (err) {
 res.send('Database Connect Error, Please try again later');
 bracket
 Count = count plus 1;
 req.session.likesCount = count;
 res.send(req.session.likesCount);
 });
 bracket
 else {
 res.send('existed');
 bracket
 });
 });

As mentioned above.

First, you should confirm where the code that you acquired sohu data is running.

If it is in a browser, then you need to consider cross-domain issues.

If it is on the server side, then you don’t need to consider cross-domain issues, you just need to simulate the request for data on the server side.

In addition, CORS is set on the target machine, that is, sohu’s service, if I remember correctly.
This flag is either set, even if it is not set, I think you may not be able to modify sohu’s service