NetRouter 小试百度语音识别
具体流程为:1.安装python2.安装 requests模块3.根据文档编写http请求上日志:root@Netouter:/Netouter# ./test.py /usr/local/lib/python2.7/dist-packages/requests-2.10.0-py2.7.egg/requests/packages/urllib3/util/ssl_
·
具体流程为:
1.安装python
2.安装 requests模块
3.根据文档编写http请求
上日志:
root@Netouter:/Netouter# ./test.py
/usr/local/lib/python2.7/dist-packages/requests-2.10.0-py2.7.egg/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/requests-2.10.0-py2.7.egg/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
http://vop.baidu.com/server_api?cuid=microduino&token=24.dc181b10ca87da33b0adfa960bbb4f60.2592000.1469771361.282335-7227233
{"corpus_no":"6301487394261335178","err_msg":"success.","err_no":0,"result":["中美,"],"sn":"296482675581467179365"}
root@Netouter:/Netouter#
更多推荐
已为社区贡献1条内容
所有评论(0)