ronething commented on issue #8626: URL: https://github.com/apache/apisix/issues/8626#issuecomment-1373279997
Maybe you can try `serverless-post-function` plugin, refer: https://apisix.apache.org/docs/apisix/plugins/serverless/ ``` $ curl http://127.0.0.1:9180/apisix/admin/routes/1 \ -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "uri": "/hello", "plugins": { "serverless-post-function": { "phase": "rewrite", "functions" : ["return function(conf, ctx) return 200, \"Hello, World!\" end"] } }, "upstream": { "type": "roundrobin", "nodes": { "127.0.0.1:80": 1 } } }' ``` -- 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]
