> For the complete documentation index, see [llms.txt](https://liseen315.gitbook.io/laravel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liseen315.gitbook.io/laravel/bian-xie-apis.md).

# 编写APIs

Laravel 开发人员最常见的任务是创建API，通常是JSON和REST或者类REST，用于第三方与Laravel应用程序数据进行交互。

Laravel使得使用JSON变的容易，资源控制器已经围绕REST verbs和模式进行了结构化。在本章中你将学习基础的API编写概念，Laravel为编写API提供工具，当你编写第一个API的时要考虑外部工具和组织系统。
