How to specify an endpoint that supports both post and get pls?
functions:
xxx:
events:
- http:
method: get,post
path: req
?
How to specify an endpoint that supports both post and get pls?
functions:
xxx:
events:
- http:
method: get,post
path: req
?
use two events, events is an array
events:
- http:
method: get
path: req
- http:
method: post
path: req