Module 02 · Web API Essentials: REST API and GraphQL
Module 2 Summary模块 2 总结
Congratulations! You have completed this module. At this point in the course, you know that:
恭喜!您已完成本模块。在课程此时,您知道:
- REST APIs provide flexible but uniform interfaces between components
REST API 提供了灵活但统一的组件间接口 - REST APIs are stateless and scalable
REST API 是无状态的,并且可扩展 - REST APIs communicate using HTTP methods POST, GET, PUT and DELETE
REST API 使用 POST、GET、PUT 和 DELETE 等 HTTP 方法进行通信 - REST is an architectural style defining how applications communicate
REST 是一种定义应用程序如何通信的架构风格 - API Gateway is the door to your backend services while also enabling you to plug additional services while providing unified access
API 网关是您后端服务的入口,同时还可以让您插入附加服务,并提供统一访问 - API Gateway makes it easier to scale or replace your backend services
API Gateway 使扩展或替换您的后端服务变得更加容易 - Flask is a micro web framework to host Python web applications
Flask 是一个用于托管 Python Web 应用的微型 Web 框架 - cURL is used for transferring data with URLs and can be used at a command line or in scripts
cURL 用于通过 URL 传输数据,可以在命令行或脚本中使用 - Postman is a simple and popular tool for building, testing, and using APIs
Postman 是一个简单且流行的用于构建、测试和使用 API 的工具 - Swagger helps you document and test your API
Swagger 帮助您记录和测试您的 API - OpenAPI specification is a standard way of representing your APIs
OpenAPI 规范是一种表示您 API 的标准方式