外观
默认情况下路由只回应GET请求,可以通过指定装饰器的参数methods来实现让路由回应多个请求。
如:
app.route('/', methods=['GET', 'POST']
许可证:署名 4.0 国际 (CC-BY-4.0)