调用代码:
exportsmain asyncevent context=>
var content "特3456书yuuo莞6543李zxcz蒜7782法fgnv级"
const result await gotTokenUrl);
const tokenJSONparseresultbody).access_token
var checkUrl_ checkUrl token
const checkResponse await gotpostcheckUrl_,{
bodyJSONstringify({
contentcontent
})
});
返回结果:
{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"incorrect header check\nReadError: incorrect header check\n at EventEmitter.emitter.on (/var/user/node_modules/got/source/as-promise.js:28:12)\n at \u003canonymous\u003e\n at process._tickCallback (internal/process/next_tick.js:188:7)"}
你好,你的问题解决了没,我也碰到这个问题了,不知道咋整呢