Python Flask Basic Http Server
from flask import Flask
if __name__ == '__main__':
app = Flask(__name__)
@app.route('/fxxk') # if the url ends with /fxxk. the default method is 'GET'
def hello_world():
return...
原创
2018-08-21 11:33:46 ·
1009 阅读 ·
0 评论