let url = 'https://svbcbsbz.lc-cn-e1-shared.com/1.1/exportData'
let { status, data } = await urllib.request(url, {
timeout: 15000000,
method: 'POST',
headers: {//设置请求头
"X-LC-Id": "", // appid
"X-LC-Key": "",// {{masterkey}},master
"Content-Type": "application/json"
},
data: { from_date: "2020-05-16", to_date: "2020-05-16", classes: "Tip" }
});
console.log('111', status, data.toString())
res.json(util.res_success(data.toString()))
next()
\"code\":124,\"error\":\"The request timed out on the server. Typically this indicates the request is too expensive.\
问题:我用 node 去 调用 api exportData,已经将 时间限制了,并且是规定 某个 class ,但是还是一直 无法执行,该class 只有 两条数据
一直报这个,数据量 其实很小
"code":124,"error":"The request timed out on the server. Typically this indicates the request is too expensive."