GET /api/v3/time request works wrong

Hi everyone,
I am trying to GET request to /api/v3/time with nodejs here is my code:

const express = require(‘express’);
const app = express();
const port = 1200;
const https = require(‘https’);
const binance = require(’./binanceConfig.js’);
const url = ‘’;

app.get(’/’, (req, res) => {
https.get(url, function(cevap){

app.listen(port, () =>{
console.log(“listenin on” + port);

and this is console.log:

What i am doing wrong?

I changed my code now i can get servertime but how can i seperate this response?
I only wanted to use server time value(1666870572170)

The server returnes json formated string, you may wish to concert to json object and get value of it.