You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/29 11:17:07 UTC

[GitHub] [apisix] Rdebu opened a new issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Rdebu opened a new issue #4707:
URL: https://github.com/apache/apisix/issues/4707


   ### Issue description
       配置了上游和限流路由,但是最后没有限流
   ### Environment
       Centos7 + apisix2.6 + aipsix-dashboad2.7
   Request help without environment information will be ignored or closed.
   
   * apisix version (cmd: `apisix version`): 2.6
   
   * OS (cmd: `uname -a`): Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
   
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): nginx version: openresty/1.19.3.2
   
   * etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 3.4.0
   
   * apisix-dashboard version, if have: 2.7
   
   * luarocks version, if the issue is about installation (cmd: `luarocks --version`): 3.4.0
   
   
   
   [help.docx](https://github.com/apache/apisix/files/6900078/help.docx)
   


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889604044


   > > 配置成功后访问http://localhost:8001/#/user/table 发现没有限流
   > 
   > `8001` is your upstream port? Have you tested it with the apisix proxy port (default `9080`)?
   
   我发现了一个我自己理解的错误,这个localhost应该是对apisix而言的,因此我修改了上游:
   ![image](https://user-images.githubusercontent.com/58921097/127596194-824ef001-8436-441c-9276-1592a4c5fe8c.png)
   路由不变:
   ![image](https://user-images.githubusercontent.com/58921097/127596280-3fc477fe-dab5-4303-af47-4d46789e0a7c.png)
   
   
   但是访问172.20.23.125:8001依然没有限流
   ![image](https://user-images.githubusercontent.com/58921097/127596422-dbdcc6d8-f07d-49c2-acf4-38d2334d602f.png)
   


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889584143


   > > > @Rdebu Please give the reproduce steps.
   > > > And don't use attachments to describe the problem, which are not very friendly to mobile viewers and have hidden security issues.
   > > 
   > > 
   > > 用apisix dashboad创建了一个上游和路由,分别是
   > > {
   > >   "nodes": [
   > >     {
   > >       "host": "127.0.0.1",
   > >       "port": 8001,
   > >       "weight": 1
   > >     }
   > >   ],
   > >   "timeout": {
   > >     "connect": 6,
   > >     "read": 6,
   > >     "send": 6
   > >   },
   > >   "type": "roundrobin",
   > >   "scheme": "http",
   > >   "pass_host": "pass",
   > >   "name": "user_admin",
   > >   "desc": "user_admin"
   > > }
   > > {
   > >   "uris": [
   > >     "/*"
   > >   ],
   > >   "name": "limit_test",
   > >   "desc": "限流测试",
   > >   "methods": [
   > >     "GET",
   > >     "POST",
   > >     "PUT",
   > >     "DELETE",
   > >     "PATCH",
   > >     "HEAD",
   > >     "OPTIONS",
   > >     "CONNECT",
   > >     "TRACE"
   > >   ],
   > >   "hosts": [
   > >     "127.0.0.1"
   > >   ],
   > >   "remote_addrs": [
   > >     "127.0.0.1"
   > >   ],
   > >   "plugins": {
   > >     "limit-req": {
   > >       "burst": 2,
   > >       "disable": false,
   > >       "key": "remote_addr",
   > >       "rate": 1,
   > >       "rejected_code": 503
   > >     }
   > >   },
   > >   "upstream_id": "365596454691013146",
   > >   "labels": {
   > >     "API_VERSION": "V1"
   > >   },
   > >   "status": 1
   > > }
   > > 配置成功后访问http://localhost:8001/#/user/table 发现没有限流
   > 
   > Please paste some request examples here. We don't know the specific request you sent to APISIX.
   
   我是用dashboard配置的
   
   配置完后查看上游是
   ![image](https://user-images.githubusercontent.com/58921097/127591071-0593026e-de16-474a-b2ec-ab376fb0b193.png)
   
   
   查看路由是
   ![image](https://user-images.githubusercontent.com/58921097/127591142-a1d0f52e-2f94-4a57-851e-17935bb62cbf.png)
   
   正常来说 这个路由绑定了这个上游之后 我访问127.0.0.1:8080下的所有路径都会有限流吧 , 但是配置完却没有
   


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889635416


   > I think you should access apisix to verify that `limit-req` is working.
   > 
   > `172.20.23.125:8001` is the upstream address, not the apisix address.
   
   就比如我访问curl http://127.0.0.1:9080/apisix/admin/test -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X GET
   
   也没有转发到上游啊  小白有点不懂


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tzssangglass commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889680865


   pls create a new issue in `apisix-java-plugin-runner` to describe this new issue.


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu edited a comment on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu edited a comment on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889584143


   > > > @Rdebu Please give the reproduce steps.
   > > > And don't use attachments to describe the problem, which are not very friendly to mobile viewers and have hidden security issues.
   > > 
   > > 
   > > 用apisix dashboad创建了一个上游和路由,分别是
   > > {
   > >   "nodes": [
   > >     {
   > >       "host": "127.0.0.1",
   > >       "port": 8001,
   > >       "weight": 1
   > >     }
   > >   ],
   > >   "timeout": {
   > >     "connect": 6,
   > >     "read": 6,
   > >     "send": 6
   > >   },
   > >   "type": "roundrobin",
   > >   "scheme": "http",
   > >   "pass_host": "pass",
   > >   "name": "user_admin",
   > >   "desc": "user_admin"
   > > }
   > > {
   > >   "uris": [
   > >     "/*"
   > >   ],
   > >   "name": "limit_test",
   > >   "desc": "限流测试",
   > >   "methods": [
   > >     "GET",
   > >     "POST",
   > >     "PUT",
   > >     "DELETE",
   > >     "PATCH",
   > >     "HEAD",
   > >     "OPTIONS",
   > >     "CONNECT",
   > >     "TRACE"
   > >   ],
   > >   "hosts": [
   > >     "127.0.0.1"
   > >   ],
   > >   "remote_addrs": [
   > >     "127.0.0.1"
   > >   ],
   > >   "plugins": {
   > >     "limit-req": {
   > >       "burst": 2,
   > >       "disable": false,
   > >       "key": "remote_addr",
   > >       "rate": 1,
   > >       "rejected_code": 503
   > >     }
   > >   },
   > >   "upstream_id": "365596454691013146",
   > >   "labels": {
   > >     "API_VERSION": "V1"
   > >   },
   > >   "status": 1
   > > }
   > > 配置成功后访问http://localhost:8001/#/user/table 发现没有限流
   > 
   > Please paste some request examples here. We don't know the specific request you sent to APISIX.
   
   我是用dashboard配置的
   
   配置完后查看上游是
   ![image](https://user-images.githubusercontent.com/58921097/127591071-0593026e-de16-474a-b2ec-ab376fb0b193.png)
   
   
   查看路由是
   ![image](https://user-images.githubusercontent.com/58921097/127591142-a1d0f52e-2f94-4a57-851e-17935bb62cbf.png)
   
   正常来说 这个路由绑定了这个上游之后 我访问127.0.0.1:8001下的所有路径都会有限流吧 , 但是配置完却没有
   


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tzssangglass commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889646562


   WeChat group has a limitation of the number of invitations, and I didn't find the QR code.


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889633516


   > I think you should access apisix to verify that `limit-req` is working.
   > 
   > `172.20.23.125:8001` is the upstream address, not the apisix address.
   
   我那个限流插件不是通过路由绑定到了上游了吗   大佬觉得我要访问哪个地址来看限流是否启动呢


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tzssangglass commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889631676


   I think you should access apisix to verify that `limit-req` is working.
   
   `172.20.23.125:8001` is the upstream address, not the apisix address.


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tzssangglass commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889594629


   > 配置成功后访问http://localhost:8001/#/user/table 发现没有限流
   
   `8001` is your upstream port? Have you tested it with the apisix proxy port (default `9080`)?


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889562018


   > @Rdebu Please give the reproduce steps.
   > 
   > And don't use attachments to describe the problem, which are not very friendly to mobile viewers and have hidden security issues.
   
   用apisix dashboad创建了一个上游和路由,分别是
   {
     "nodes": [
       {
         "host": "127.0.0.1",
         "port": 8001,
         "weight": 1
       }
     ],
     "timeout": {
       "connect": 6,
       "read": 6,
       "send": 6
     },
     "type": "roundrobin",
     "scheme": "http",
     "pass_host": "pass",
     "name": "user_admin",
     "desc": "user_admin"
   }
   
   
   
   {
     "uris": [
       "/*"
     ],
     "name": "limit_test",
     "desc": "限流测试",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS",
       "CONNECT",
       "TRACE"
     ],
     "hosts": [
       "127.0.0.1"
     ],
     "remote_addrs": [
       "127.0.0.1"
     ],
     "plugins": {
       "limit-req": {
         "burst": 2,
         "disable": false,
         "key": "remote_addr",
         "rate": 1,
         "rejected_code": 503
       }
     },
     "upstream_id": "365596454691013146",
     "labels": {
       "API_VERSION": "V1"
     },
     "status": 1
   }
   
   
   配置成功后访问http://localhost:8001/#/user/table 发现没有限流


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tzssangglass commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889134712


   @Rdebu Please give the reproduce steps.
   
   And don't use attachments to describe the problem, which are not very friendly to mobile viewers and have hidden security issues.


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889648283


   > > curl http://127.0.0.1:9080/apisix/admin/test -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X GET
   > 
   > `/apisix/admin/*` is the `admin-api`, used to control the behavior of APISIX.
   > 
   > take a look at: https://apisix.apache.org/docs/apisix/getting-started#step-2-create-a-route
   
   大佬我还有个问题   就是我按照官网写了个Java插件测试
   
   文件名是TestFilter.java,也根据步骤放到了 package-info.java 同级文件夹下
   ![image](https://user-images.githubusercontent.com/58921097/127607307-755deae2-a325-4000-9cfd-13de20a84362.png)
   
   
   内容是:
   /*
    * Licensed to the Apache Software Foundation (ASF) under one or more
    * contributor license agreements.  See the NOTICE file distributed with
    * this work for additional information regarding copyright ownership.
    * The ASF licenses this file to You under the Apache License, Version 2.0
    * (the "License"); you may not use this file except in compliance with
    * the License.  You may obtain a copy of the License at
    *
    *     http://www.apache.org/licenses/LICENSE-2.0
    *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
   
   package org.apache.apisix.plugin.runner.filter;
   
   import com.google.gson.Gson;
   import org.apache.apisix.plugin.runner.HttpRequest;
   import org.apache.apisix.plugin.runner.HttpResponse;
   import org.springframework.stereotype.Component;
   import reactor.core.publisher.Mono;
   
   import java.util.HashMap;
   import java.util.Map;
   
   @Component
   public class TestFilter implements PluginFilter {
   
       @Override
       public String name() {
           /* It is recommended to keep the name of the filter the same as the class name.
            Configure the filter to be executed on apisix's routes in the following format
   
           {
               "uri": "/hello",
               "plugins": {
                   "ext-plugin-pre-req": {
                       "conf": [{
                           "name": "TestFilter",
                           "value": "bar"
                       }]
                   }
               },
               "upstream": {
                   "nodes": {
                       "127.0.0.1:1980": 1
                   },
                   "type": "roundrobin"
               }
           }
   
           The value of name in the configuration corresponds to the value of return here.
            */
   
           return "TestFilter";
       }
   
       @Override
       public Mono<Void> filter(HttpRequest request, HttpResponse response, PluginFilterChain chain) {
           /*
            * If the conf you configured is of type json, you can convert it to Map or json.
            */
   
           String configStr = request.getConfig(this);
           Gson gson = new Gson();
           Map<String, Object> conf = new HashMap<>();
           conf = gson.fromJson(configStr, conf.getClass());
   
           /*
            * You can use the parameters in the configuration.
            */
   
           // note: the path to the rewrite must start with '/'
   //        request.setPath((String) conf.get("rewrite_path"));
   //        request.setHeader((String) conf.get("conf_header_name"), (String) conf.get("conf_header_value"));
           request.setHeader("para_test", "ning_test");
           /* note: The value of the parameter is currently a string type.
                    If you need the json type, you need the upstream service to parse the string value to json.
                    For example, if the arg is set as below
                    request.setArg("new arg", "{\"key1\":\"value1\",\"key2\":2}");
   
                    The arg received by the upstream service will be as below
                    "new arg": "{\"key1\":\"value1\",\"key2\":2}"
            */
           request.setArg("test_arg", "test_value");
   
           response.setHeader("para_test", "test");
           return chain.filter(request, response);
       }
   }
   
   也配置了个路由
   ![image](https://user-images.githubusercontent.com/58921097/127607387-eb9d7357-481c-4594-98c2-23f78e0f1c60.png)
   
   
   要是测试成功了  访问curl -i -X GET "http://127.0.0.1:9080/#/user/table" -i 应该会显示一个自定义的响应头para_test
   
   但是最后没成功是为啥呢
   
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889640877


   > > curl http://127.0.0.1:9080/apisix/admin/test -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X GET
   > 
   > `/apisix/admin/*` is the `admin-api`, used to control the behavior of APISIX.
   > 
   > take a look at: https://apisix.apache.org/docs/apisix/getting-started#step-2-create-a-route
   
   感谢大佬  我解决了!!!  大佬  咱这有QQ交流群  那有微信交流群吗


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] Rdebu commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889685180


   > pls create a new issue in `apisix-java-plugin-runner` to describe this new issue.
   
   好的,感谢大佬


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tokers commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889572295


   > > @Rdebu Please give the reproduce steps.
   > > And don't use attachments to describe the problem, which are not very friendly to mobile viewers and have hidden security issues.
   > 
   > 用apisix dashboad创建了一个上游和路由,分别是
   > {
   >   "nodes": [
   >     {
   >       "host": "127.0.0.1",
   >       "port": 8001,
   >       "weight": 1
   >     }
   >   ],
   >   "timeout": {
   >     "connect": 6,
   >     "read": 6,
   >     "send": 6
   >   },
   >   "type": "roundrobin",
   >   "scheme": "http",
   >   "pass_host": "pass",
   >   "name": "user_admin",
   >   "desc": "user_admin"
   > }
   > 
   > {
   >   "uris": [
   >     "/*"
   >   ],
   >   "name": "limit_test",
   >   "desc": "限流测试",
   >   "methods": [
   >     "GET",
   >     "POST",
   >     "PUT",
   >     "DELETE",
   >     "PATCH",
   >     "HEAD",
   >     "OPTIONS",
   >     "CONNECT",
   >     "TRACE"
   >   ],
   >   "hosts": [
   >     "127.0.0.1"
   >   ],
   >   "remote_addrs": [
   >     "127.0.0.1"
   >   ],
   >   "plugins": {
   >     "limit-req": {
   >       "burst": 2,
   >       "disable": false,
   >       "key": "remote_addr",
   >       "rate": 1,
   >       "rejected_code": 503
   >     }
   >   },
   >   "upstream_id": "365596454691013146",
   >   "labels": {
   >     "API_VERSION": "V1"
   >   },
   >   "status": 1
   > }
   > 
   > 配置成功后访问http://localhost:8001/#/user/table 发现没有限流
   
   Please paste some request examples here. We don't know the specific request you sent to APISIX.


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tzssangglass commented on issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889637445


   > curl http://127.0.0.1:9080/apisix/admin/test -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X GET
   
   `/apisix/admin/*` is the `admin-api`, used to control the behavior of APISIX.
   
   take a look at: https://apisix.apache.org/docs/apisix/getting-started#step-2-create-a-route


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] tzssangglass closed issue #4707: request help: 配置了上游和限流路由,但是最后没有限流

Posted by GitBox <gi...@apache.org>.
tzssangglass closed issue #4707:
URL: https://github.com/apache/apisix/issues/4707


   


-- 
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: notifications-unsubscribe@apisix.apache.org

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