Operations to manipulate HTTP headers for both request and response
Name | Type | Description |
---|---|---|
header |
string |
Name | Type | Description |
---|---|---|
input |
http::RequestMiddlewareResponse | |
value |
Strings |
Name | Type | Description |
---|---|---|
output |
http::RequestMiddlewareResponse |
Given the following configuration:
Operation configuration as op-config.json
:
{
"header": "XXX"
}
$ wick invoke candle/http-headers:0.1.0 add [email protected] -- --input="XXX"--value="XXX"
Or with inline configuration:
$ wick invoke candle/http-headers:0.1.0 add \
--op-with='{ "header":"XXX" }' \
-- --input="XXX"--value="XXX"