赞
踩
# post测试
@app.route('/postTest', methods=['post'])
def postTest():
return "567"
Method Not Allowed The method is not allowed for the requested URL.

methods增加一个get# post测试
@app.route('/postTest', methods=['get','post'])
def postTest():
return "567"
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。