Unable to send numbers using res.send() using express with node

前端 未结 3 714
鱼传尺愫
鱼传尺愫 2020-12-19 03:31

I am trying to get the \"imdb rating\" using express in node and I am struggling.

movies.json

[{
\"id\": \"3962210\",
\"order\": [4.         


        
3条回答
  •  离开以前
    2020-12-19 03:58

    this works, you have to convert it to a string: threeFunction().toString() or x1.toString()

提交回复
热议问题