參數位於URL 的路徑中,需要從URL 中間抓參數的,可以使用這個方式: # 提醒一下,這邊的<>是需要帶入的@app.route('/<type:name>') def <function name>(<name>): # ...
確定! 回上一頁