zhc00 opened a new issue, #3992:
URL: https://github.com/apache/shenyu/issues/3992

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   _No response_
   
   ### Expected Behavior
   
   _No response_
   
   ### Steps To Reproduce
   
   1. create selector
   ```bash
   curl -L -X POST 'http://localhost:9095/selector' \
   -H 'X-Access-Token: 
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNjY0MTM2NjAxfQ.00by321c2cZJojQRdMWv9PIRvX9sAifGNkr0muuJTEQ'
 \
   -H 'Content-Type: application/json' \
   -H 'Cookie: JSESSIONID=8A1196978527AEE40984DEED8D7E508A' \
   --data-raw 
'{"id":null,"name":"httpbin","type":"1","matchMode":"0","enabled":true,"continued":true,"handle":"[{\"upstreamUrl\":\"httpbin:80\"}]","sort":1,"pluginId":"5","loged":true,"selectorConditions":[{"paramType":"uri","operator":"=","paramName":"/","paramValue":"/anything"}]}
   '
   ```
   2. get selectors
   
   ```bash
   curl -L -X GET 'http://localhost:9095/selector?currentPage=1&pageSize=10' \
   -H 'X-Access-Token: 
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNjY0MTM2NjAxfQ.00by321c2cZJojQRdMWv9PIRvX9sAifGNkr0muuJTEQ'
 \
   -H 'Cookie: JSESSIONID=E4F70AA17F5BFCD302727AA66EAAD90F'
   ```
   
   ### Environment
   
   ```markdown
   ShenYu version(s): master with h2
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


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

Reply via email to