# 总结

Laravel致力于构建API，使得使用JSON和RESTful API变得简单。 有一些约定，比如分页，但很大程度上定义了如何对API进行排序，验证或其他任何由您决定的内容。

Laravel提供了用于身份验证和测试，易于操作和读取标头以及使用JSON的工具，甚至可以自动编码Eloquent结果成JSON，然后从路由返回。

Laravel Passport是个分离的包可以轻松的创建和管理OAuth 服务在你的APP中。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://liseen315.gitbook.io/laravel/bian-xie-apis/zong-jie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
