mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-07-26 08:58:42 +00:00
fix params layout for http.response.create
This commit is contained in:
@@ -10,7 +10,7 @@ This processor will create a new HTTP response with the specified status code an
|
||||
- **type**: `http.response.create`
|
||||
- **params**:
|
||||
- **status**: the HTTP status code to set for the response (e.g. `200`, `404`, etc.)
|
||||
- **body**: the body template to set for the response
|
||||
- **bodyTemplate**: the body template to set for the response
|
||||
|
||||
### Example
|
||||
|
||||
@@ -20,5 +20,5 @@ This would create an HTTP response with a status code of `200` and a body of `OK
|
||||
- type: http.response.create
|
||||
params:
|
||||
status: 200
|
||||
body: "OK"
|
||||
bodyTemplate: "OK"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user