清单5是一个示例视图函数send_message。
Listing 5 is an example of a view function, named send_message.
视图函数使用 HTTP GET 进行 RESTful 查询。
视图函数(通常称为“视图”)是基础的python函数,它接受一个请求参数并返回一个响应。
View functions, or "views" as they are more commonly known, are basically Python functions that accept a request parameter and return a response.
应用推荐