wangshunping
wangshunping
as I see in a demo from swagger.io, i could post a json file  flask-restplus support it ? can can i modify argument ? I modify parser this way...
Hi,感谢这些天的指导。 requests 是一个很好的包, http://www.python-requests.org/en/latest/ 据称为 http for human. 我在util.py里面改了那个函数,把原来的代码注释掉了没有删除。用了requests就显得非常pythonic啦~ 另外在question.py和topic.py里面只要BeautifulSoup(content.text)就行啦! 我测试通过啦,大神你试试看吧~~ 另外在util.py里面添加了一个main,这样可以给大家测试是否成功使用cookie登陆上啦! 我返回的是html文件,可以尝试返回200什么的。 这是我第一次给别人pull request, 请一定要接受,拜托拜托...