shihuncl opened a new issue, #12381:
URL: https://github.com/apache/apisix/issues/12381

   ### Current Behavior
   
   apisix server config:{
     "uris": [
       "/mdm/api/service/datapub/rest/api/v1/pmdm/projectTeam"
     ],
     "name": "查询接口",
     "desc": "查询接口",
     "priority": 1,
     "methods": [
       "GET",
       "POST"
     ],
     "plugins": {
       "consumer-restriction": {
         "rejected_code": 403,
         "type": "consumer_name",
         "whitelist": [
           "AITM",
           "matrix",
           "ELEARING",
           "IDM"
         ]
       },
       "proxy-rewrite": {
         "headers": {
           "appKey": "JCPTTEST",
           "appSecret": 
"eyJhbGciOiJIUzUxMiJ9.eyJhcHBDb2RlIjoiSkNQVFRFU1QiLCJleHAiOjIwMTk2MTE4ODl9.Wwo1CvxQY89-UahXQPD-A9jAyKseuT64N8SmrXAVmlY-_DadvkIBZSAAdItLq71jOlbQovFjyFi-Hmno8OkpbA"
         },
         "method": "POST",
         "regex_uri": [
           "^/mdm/(.*)",
           "/$1"
         ],
         "scheme": "https",
         "use_real_request_uri_unsafe": false
       }
     },
     "service_id": "3286940bffae4a9ea34a6b274fc081bb",
     "status": 1
   }
   
   The following request call log is lost, and the apisix log does not report 
an error.
   
   1.curl --location --request POST 
'https://test/mdm/api/service/datapub/rest/api/v1/pmdm/projectTeam?projectCode=P4065&beginDate=2019-11-01%2000:00:00&endDate=2019-11-01%2000:00:00'
 \
   --header 'Authorization: Basic SURNOlBFaXpWVGViR0lIVw=='
   2.curl --location --request POST 
'https://orchestra.gtcloud.cn/mdm/api/service/datapub/rest/api/v1/pmdm/projectTeam?projectCode=P4065&beginDate&endDate'
 \
   --header 'Authorization: Basic SURNOlBFaXpWVGViR0lIVw=='
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   The following request call log is lost, and the apisix log does not report 
an error.
   
   1.curl --location --request POST 
'https://test/mdm/api/service/datapub/rest/api/v1/pmdm/projectTeam?projectCode=P4065&beginDate=2019-11-01%2000:00:00&endDate=2019-11-01%2000:00:00'
 \
   --header 'Authorization: Basic SURNOlBFaXpWVGViR0lIVw=='
   2.curl --location --request POST 
'https://orchestra.gtcloud.cn/mdm/api/service/datapub/rest/api/v1/pmdm/projectTeam?projectCode=P4065&beginDate&endDate'
 \
   --header 'Authorization: Basic SURNOlBFaXpWVGViR0lIVw=='
   
   ### Environment
   
   - APISIX version (run `apisix version`):3.9.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]

Reply via email to