Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议允许使用 methods: * 的方式启用 HTTP 触发器的全部请求方式 #993

Open
DevDengChao opened this issue Aug 4, 2023 · 0 comments

Comments

@DevDengChao
Copy link
Contributor

现在定义一个支持全部 HTTP 请求方式的 HTTP 触发器需要写很多东西:

      triggers:
        - name: http
          type: http
          config:
            authType: anonymous
            methods:
              - GET
              - HEAD
              - POST
              - DELETE
              - PUT
              - PATCH
              - OPTIONS

如果能用 * 来代替这些方法就好了:

      triggers:
        - name: http
          type: http
          config:
            authType: anonymous
            methods: *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant