额外参数
说明
- 将参数添加到转发请求的请求头、query、body中
- 目前仅支持静态额外参数
- 可用于上游服务的静态token校验
- body额外参数仅支持表单和json格式,即
content-type仅支持application/x-www-form-urlencoded、multipart/form-data、application/json
配置说明
| 参数名 | 值类型 | 是否必填 | 值可能性 | 默认值 | 说明 | 
|---|---|---|---|---|---|
| key | string | 是 | 参数名 | ||
| value | string | 是 | 参数值,当position为 body,且content-type为application/json时,支持JsonPath语法 | ||
| position | string | 是 | header、body、query | 参数位置 | |
| conflict | string | 是 | origin、convert、error | 当参数已经存在,执行当冲突解决策略。参数值可能性: origin、convert、error* origin:使用原始值 * convert:使用额外参数设置的值 * error:不转发,返回冲突报错 | |
| labels | object (map[string]string) | 否 | 参数额外标签 | 
该额外参数需要搭配应用使用,详情点击[应用](/docs/apinto/app/index.md)
