Commit d069adde by myqlarson

Update rest-quick-start.md: highlight automatic pluralization

This is probably not expected given the other naming conventions within Yii, so highlight this feature for beginners.
parent e88978f8
...@@ -75,6 +75,7 @@ for accessing the user data. The APIs you have created include: ...@@ -75,6 +75,7 @@ for accessing the user data. The APIs you have created include:
* `OPTIONS /users`: show the supported verbs regarding endpoint `/users`; * `OPTIONS /users`: show the supported verbs regarding endpoint `/users`;
* `OPTIONS /users/123`: show the supported verbs regarding endpoint `/users/123`. * `OPTIONS /users/123`: show the supported verbs regarding endpoint `/users/123`.
Note that Yii automatically pluralizes controller IDs for them to use in endpoints.
You may access your APIs with the `curl` command like the following, You may access your APIs with the `curl` command like the following,
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment