情感倾向分析接口 返回错误代码282004
201030740519gg 发布于2018-04 浏览:2677 回复:2
0
收藏
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
个赞
共2条回复 最后由304149240回复于2018-05
#3304149240回复于2018-05
#2 201030740519gg回复
已解决;参照解决方案 https://blog.csdn.net/shuihupo/article/details/79869856
展开

感谢!!!!

0
#2201030740519gg回复于2018-04

已解决;参照解决方案 https://blog.csdn.net/shuihupo/article/details/79869856

0
TOP
切换版块