有没有办法将插件配置为仅针对给定方法或一组方法触发?
-routes:
- name: some-route
- paths:
- /some-path
plugins:
- name: some-plugin
methods: GET # Only run plugin for GET
configuration:
some-config:
- foo
有没有办法将插件配置为仅针对给定方法或一组方法触发?
-routes:
- name: some-route
- paths:
- /some-path
plugins:
- name: some-plugin
methods: GET # Only run plugin for GET
configuration:
some-config:
- foo