mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-20 20:39:10 +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`
|
- **type**: `http.response.create`
|
||||||
- **params**:
|
- **params**:
|
||||||
- **status**: the HTTP status code to set for the response (e.g. `200`, `404`, etc.)
|
- **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
|
### 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
|
- type: http.response.create
|
||||||
params:
|
params:
|
||||||
status: 200
|
status: 200
|
||||||
body: "OK"
|
bodyTemplate: "OK"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user