代码之家  ›  专栏  ›  技术社区  ›  Vladimir Shevchuk

Openfire Rest API插件字段授权

  •  0
  • Vladimir Shevchuk  · 技术社区  · 8 年前

    我有个问题。我正在尝试通过访问Openfire Rest API插件 https 以这种方式:

    https://my-openfire.org.ua:7443/http-bind/plugins/restapi/v1/chatrooms
    

    我得到一个错误:

    加载失败 https://my-openfire.org.ua:7443/http-bind/plugins/restapi/v1/chatrooms :飞行前响应中的访问控制允许标头不允许请求标头字段授权。

    各位,我做错了什么?

    enter image description here enter image description here

    1 回复  |  直到 8 年前
        1
  •  1
  •   Roman S.    8 年前

    您需要使用路径: https://myopenfire.org.ua:9090/plugins/restapi/v1/chatrooms

    (它使用web接口端口),并且未绑定到“http绑定”