diff --git a/docs/site/Req-res-cycle.md b/docs/site/Req-res-cycle.md index a50d2c759019..71ec1312ac02 100644 --- a/docs/site/Req-res-cycle.md +++ b/docs/site/Req-res-cycle.md @@ -23,7 +23,7 @@ by other APIs. #### Controller endpoints Controller methods decorated with operation decorators like `@get()`, `@post()`, -`@put` etc., create enpoints on the app for the corresponding HTTP verbs. The +`@put` etc., create endpoints on the app for the corresponding HTTP verbs. The behavior of these endpoints are entirely dependent on the implementation of the controller method. @@ -41,7 +41,7 @@ The following APIs can create non-controller endpoints. ##### 1. app.static(path, rootDir, options) This method maps to the underlying Express' [static](https://expressjs.com/en/4x/api.html#express.static) -method. It creates dynamic enpoints for files in the `rootDir` to be servered +method. It creates dynamic endpoints for files in the `rootDir` to be served at `path`. More details at [RestApplication.static()](https://loopback.io/doc/en/lb4/apidocs.rest.restapplication.static.html) @@ -58,7 +58,7 @@ doc. ##### 3. app.mountExpressRouter(basePath, router, spec) This method mounts an Express [router](https://expressjs.com/en/4x/api.html#router) -in the LoopBack app. You can use it for adding custom enpoints in your app using +in the LoopBack app. You can use it for adding custom endpoints in your app using the Express middleware format. More details at [RestApplication.mountExpressRouter()