spacewander commented on a change in pull request #3048:
URL: https://github.com/apache/apisix/pull/3048#discussion_r543799370



##########
File path: apisix/plugins/example-plugin.lua
##########
@@ -109,4 +110,28 @@ function _M.access(conf, ctx)
 end
 
 
+local function hello()
+    local args = ngx.req.get_uri_args()
+    if args["json"] then
+        return 200, {msg = "world"}
+    else
+        return 200, "world\n"
+    end
+end
+
+
+function _M.control_api(ver)

Review comment:
       I already wrote it https://github.com/apache/apisix/issues/2798 a month 
ago.
   And https://github.com/apache/apisix/issues/3022 shows why we need this 
feature.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to