Url rewrite for multiple methods at once

Is there a way to include multiple methods in rewrite definition to not repeat the same definition allover?
Something like this: “method”: “GET, POST”

"url_rewrites": [{
  "path": "match/me",
  "method": "GET, POST",
  "match_pattern": "(\w+)/(\w+)",
  "rewrite_to": "my/service?value1=$1&value2=$2"

Hi @bkomac, welcome to the community.

You could try making it an array [“GET”, “POST”] but it may not be possible considering the structure in the apidef code requires a string


No, it is not possible to use an array in this place.

    "status": "error",
    "message": "Request malformed"