This topic was automatically generated from Slack. You can find the original thread here.
What would be an appropiate way to make an HTTP trigger ignore this kind of requests? (robots.txt, favicon, …) there is a “remove favicon requests” but not for robots?
: instead of filtering out an infinitely large list of exceptions, what could be even better & simpler would be the ability for HTTP triggers to accept POST requests only (or basically to select which HTTP methods to allow or decline).
One sensible thing to do would be to add a parameter of “only accept requests to paths matching…” And make that a Regex. A second parameter could be “O ly accept HTTP methods…”
This avoids making assumptions, having an infinite arbitrary list of exclusions, or limiting methods.