如果不指定,默认是get方法
指定的写法
@blue.route("路径",method=["POST","GET",...])
注意:method不指定就是默认的get方法,指定了一种方法就只支持指定的方法
如果不指定,默认是get方法
指定的写法
@blue.route("路径",method=["POST","GET",...])
注意:method不指定就是默认的get方法,指定了一种方法就只支持指定的方法
本文标题:6、request补充methods方法
本文链接:https://www.haomeiwen.com/subject/icmaoftx.html
网友评论