aaaa

const http = require("http");

const data = {
    message: "hello World",
}

const server = http.createServer((req, res) => {
    res.setHeader("Content-Type", "application/json");
    res.statusCode = 200;
    res.end(JSON.stringify(data));
});

server.listen(4000, () => {
    console.log("Starting server at port 4000")
})



bbbbb