laokan opened a new issue #5165:
URL: https://github.com/apache/apisix/issues/5165


   ### Issue description
   
   the pluginx  wolf-rbac  's  login url /apisix/plugin/wolf-rbac/login return 
the json but header give  the content-type is text/plain,  when the browsr 
crossdomain post then show the cors error, please change the plugin login post 
give the Content-type  to application/json 
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks 
--version`):
   
   
   ### Steps to reproduce
   
   post /apisix/plugin/wolf-rbac/login  show the response header
   
   ### Actual result
   
   text/plain
   
   ### Error log
   
   the browser given the cors error
   
   ### Expected result
   
   _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