kordino opened a new issue, #8127: URL: https://github.com/apache/apisix/issues/8127
### Description feat: As a user, I want to be able to set custom function in proxy-rewrite plugin, so that I can implement custom handling of parameters in URL path in rewrite phase. an example: `curl -XPUT 'http://127.0.0.1:9080/apisix/admin/routes/1' \ --header 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' \ --header 'Content-Type: application/json' \ --data-raw '{ "uri": "/service/user/:userId", "name": "test", "plugins": { **"proxy-rewrite"**: { **"phase": "rewrite"**, "functions" : ["return function(conf, ctx) require(\"apisix.core\").response.exit(200, require(\"apisix.core\").json.encode(ctx.curr_req_matched, true)) end"] } } }'` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
