收藏
回答

msgSecCheck使用got调用会出现incorrect header check,是什么问题?

调用代码:

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)"}


最后一次编辑于  2019-12-25
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签