SSSherg commented on issue #5415:
URL: https://github.com/apache/apisix/issues/5415#issuecomment-961554397


   In the beginning, it was configured in APISIX Dashboard.There was no 
indication of a problem!
   
![image](https://user-images.githubusercontent.com/37147027/140441390-1072ae45-4284-4410-a6e6-292f01448c05.png)
   
   when  i use this way:
   `curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "uri":"/get",
       "plugins":{
           "ext-plugin-pre-req":{
               "conf":[
                   {
                       "name":"TokenValidator",
                       
"value":"{\"validate_header\":\"token\",\"validate_url\":\"https://www.sso.foo.com/token/validate\",\"rejected_code\":\"403\"}";
                   }
               ]
           }
       },
       "upstream":{
           "nodes":{
               "httpbin.org:80":1
           },
           "type":"roundrobin"
       }
   }`
   return   '{"error_msg":"unknown plugin [ext-plugin-post-req]"}
   
    I just realized I was missing this plugin!
   
   @tzssangglass 


-- 
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-unsubscr...@apisix.apache.org

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


Reply via email to