kayx23 commented on issue #10367: URL: https://github.com/apache/apisix/issues/10367#issuecomment-1773615478
The plugin should be working. Here's my test: ```shell curl "http://127.0.0.1:9180/apisix/admin/routes/1" -X PUT -d ' { "uri": "/get", "plugins": { "request-validation": { "header_schema": { "type": "object", "required": ["Host"], "properties": { "Host": { "type": "string", "enum": ["httpbin"] } } }, "rejected_code": 555, "rejected_msg": "Oh No 555 reject message! \n" } }, "upstream": { "type": "roundrobin", "nodes": { "httpbin.org:80": 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]
