mirror of
https://github.com/grafana/grafana.git
synced 2026-08-11 13:44:59 -05:00
Plugins: Support set body content in plugin routes (#32551)
Adds support for overriding the body and length in plugin routes.
This commit is contained in:
@@ -35,6 +35,7 @@ type AppPluginRoute struct {
|
||||
Headers []AppPluginRouteHeader `json:"headers"`
|
||||
TokenAuth *JwtTokenAuth `json:"tokenAuth"`
|
||||
JwtTokenAuth *JwtTokenAuth `json:"jwtTokenAuth"`
|
||||
Body json.RawMessage `json:"body"`
|
||||
}
|
||||
|
||||
// AppPluginRouteHeader describes an HTTP header that is forwarded with
|
||||
|
||||
Reference in New Issue
Block a user