def POST(self) 什么時候返回它呢
class blog:
? ? def GET(self):
? ? ? ? return 'blog method'
? ? def POST(self):
? ? ? ? return 'blog post method'
class blog:
? ? def GET(self):
? ? ? ? return 'blog method'
? ? def POST(self):
? ? ? ? return 'blog post method'
2017-04-20
舉報
2017-04-22
HTTP協議支持四種請求方式,分別是 GET POST PUT DELETE,
當瀏覽器發送 POST 請求的時候,web.py 就調用相應的 POST 方法。
2018-06-22
下載個postman,以post發送請求就行