Is it possible to handle OPTIONS HTTP method in the workflow?

Is it possible to handle OPTIONS HTTP method in the workflow?
I would like to send custom response to such request.

Hi @krzysztofwojcicki , currently no, we handle OPTIONS requests on our side and return these standard headers to allow all origins and methods:

access-control-allow-origin: *
access-control-allow-methods: GET,HEAD,PUT,PATCH,POST,DELETE

Is there a specific response you want to issue on OPTIONS requests? I can pass that feedback to the team.

I wanted to simulate rate limiting for some service, and to do so I also need to proxy OPTIONS.

Hi @krzysztofwojcicki

You can request for this new feature on our public Github Issue tracker: Sign in to GitHub · GitHub

You’ll receive updates when the team gets to this.