fill in basic details for remaining processors/modules

This commit is contained in:
Joel Wetzell
2026-03-26 17:57:08 -05:00
parent 3a92370cdd
commit cc77a35377
30 changed files with 336 additions and 66 deletions
+14 -2
View File
@@ -5,7 +5,19 @@ sidebar:
order: 1
---
This process will make an HTTP request to the specified URL using the specified method. The response will be passed through to the next processor in the chain. This processor will return an error if the request fails for any reason (e.g. network error, invalid URL, etc.).
- **type**: `http.request.do`
- **params**:
- **method**
- **url**
- **method**: the HTTP method to use for the request (e.g. `GET`, `POST`, `PUT`, etc.)
- **url**: the URL to send the request to
### Example
Make a GET request to `https://example.com`
```
- type: http.request.do
params:
method: GET
url: https://example.com
```
@@ -5,7 +5,18 @@ sidebar:
order: 2
---
This processor will create a new HTTP response with the specified status code and body template. The created response will be passed through to the next processor in the chain. If the response is subsequently sent to an HTTP server module using the [router.output](../router/output.md) processor, the status code and body template set by this processor will be used for the response sent to the client. This processor will return an error if there is an issue executing the body template.
- **type**: `http.response.create`
- **params**:
- **status**
- **body**
- **status**: the HTTP status code to set for the response (e.g. `200`, `404`, etc.)
- **body**: the body template to set for the response
### Example
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"
```