Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/recipes/rest-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Once the *mod_cfml* has successfully created the host configuration in Tomcat, y

Find below a quick reference overview of specific component attributes and functions related to REST and CFML. This [video about Lucee REST Server](https://www.youtube.com/watch?v=R_VnRawOhhc) explains how to create REST components in Lucee.

Since Lucee 6.1.0.155, Lucee supports multiple `httpMethods` per function. This is particulary useful/important for `GET` endpoints which may be also be accessed via a `HEAD` request, which would previously require a second function to match such requests.
Since Lucee 6.1.0.155, Lucee supports multiple `httpMethods` per function. This is particularly useful/important for `GET` endpoints which may be also be accessed via a `HEAD` request, which would previously require a second function to match such requests.

```
remote string function echoGET() httpMethod="GET,HEAD" restpath="echoGET" {
Expand Down Expand Up @@ -286,4 +286,4 @@ alt="RESTful Server" width="320" border="10" /></a></div>

The Lucee data provider uses REST for the update services and provides some real world examples currently in production.

[https://github.com/lucee/lucee-data-provider/tree/main/apps/updateserver/rest](https://github.com/lucee/lucee-data-provider/tree/main/apps/updateserver/rest)
[https://github.com/lucee/lucee-data-provider/tree/main/apps/updateserver/rest](https://github.com/lucee/lucee-data-provider/tree/main/apps/updateserver/rest)
Loading