以下案例是apisix响应请求后,将url请求参数mytoken的值添加到客户端浏览器cookie中
"plugins": {
"response-rewrite": {
"disable": false,
"headers": {
"Set-Cookie": "cookietoken=$arg_mytoken;Path=/mypath/"
}
}
},
以下案例是apisix响应请求后,将url请求参数mytoken的值添加到客户端浏览器cookie中
"plugins": {
"response-rewrite": {
"disable": false,
"headers": {
"Set-Cookie": "cookietoken=$arg_mytoken;Path=/mypath/"
}
}
},