python2.7 请求情感倾向分析接口 一直返回参数非法的错误;access_token也传了,
headers = { "Content-Type": 'application/json' } post_data = { 'text': '苹果是一家伟大的公司' } url = EmotionAnalysisUrl + '?access_token=' + access_token print url s = requests.post(url, post_data, headers=headers, verify=False) print s.text
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
感谢!!!!
已解决;参照解决方案 https://blog.csdn.net/shuihupo/article/details/79869856