node.js调用文本审核V2接口老提示没带参数
梦回乡巴拉2013 发布于2018-04 浏览:2316 回复:2
0
收藏
param.content: 这段话应该没问题
{ method: 'POST',
url: 'https://aip.baidubce.com/rest/2.0/antispam/v2/spam?aipSdk=node&access_token=24.ebc27a8d7254349cf09d88f4dd6e12ef.2592000.1527080244.282335-10983095?aipSdk=node',
headers:
{ Host: 'aip.baidubce.com',
'Content-Type': 'application/x-www-form-urlencoded' },
encoding: null,
timeout: 10000,
body: }
{ log_id: 285402566786346200,
error_code: 282133,
error_msg: 'param content not exist' }
收藏
点赞
0
个赞
共2条回复 最后由腾飞的巨浪回复于2018-09
#3腾飞的巨浪回复于2018-09

接口错了吧

0
#2周俊316回复于2018-04

具体您对照下这个入参http://ai.baidu.com/docs#/ImageCensoring-API/top

0
TOP
切换版块