Enhancement: fully support custom headers (#6125)

This commit is contained in:
shamoon
2025-12-23 08:02:58 -08:00
committed by GitHub
parent 0d99a8766f
commit be7a00d631
5 changed files with 30 additions and 1 deletions
+2
View File
@@ -189,6 +189,8 @@ labels: ...
- homepage.widgets[1].slug=youreventslughere
```
To pass custom HTTP headers with a widget request when using labels, use the same dot-notation: `homepage.widget.headers.X-Auth-Key=secret` (or `homepage.widgets[0].headers.X-Auth-Key=secret` when multiple widgets are present).
You can add specify fields for e.g. the [CustomAPI](../widgets/services/customapi.md) widget by using array-style dot notation:
```yaml