例如,您可能需要验证数据或将请求的数据添加到客户记录。
For example, you might need to verify data or add data from the request to the customer record.
但是在许多情况下,不优雅的Web API使用HTTP GET来触发服务器上的事务性操作——例如,向数据库添加记录。
But there are many cases of unattractive Web APIs that use HTTP GET to trigger something transactional on the server-for instance, to add records to a database.
但是其他开发人员需要熟练地操作文件系统以添加个性化特性(例如添加历史记录或转发缓存)及对其改进。
But other developers needed to manipulate a filesystem — to add personalized features (such as adding history or forward-caching) and enhancements.
应用推荐