Openfire Rest API 插件字段授权
Openfire Rest API plugin field Authorization
我有问题。我正在尝试通过 https 以这种方式访问 Openfire Rest API 插件:
https://my-openfire.org.ua:7443/http-bind/plugins/restapi/v1/chatrooms
我得到错误:
Failed to load https://my-openfire.org.ua:7443/http-bind/plugins/restapi/v1/chatrooms: Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.
各位,我做错了什么?
您需要使用路径:https://myopenfire.org.ua:9090/plugins/restapi/v1/chatrooms
(它使用 Web 接口端口)并且未绑定到 "http-bind"
我有问题。我正在尝试通过 https 以这种方式访问 Openfire Rest API 插件:
https://my-openfire.org.ua:7443/http-bind/plugins/restapi/v1/chatrooms
我得到错误:
Failed to load https://my-openfire.org.ua:7443/http-bind/plugins/restapi/v1/chatrooms: Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.
各位,我做错了什么?
您需要使用路径:https://myopenfire.org.ua:9090/plugins/restapi/v1/chatrooms
(它使用 Web 接口端口)并且未绑定到 "http-bind"