> 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/shou-ji-he-chu-li-yong-hu-shu-ju/lu-you-shu-ju.md).

# 路由数据

当您想象“用户数据”时，它可能不是您想到的第一件事，但URL与本章中的任何其他内容一样多。

从URL获取数据的主要方法有两种：通过请求对象和通过路由参数。
