【问题标题】:WSO2, What is the Proxy URL by which I can Invoke WSO2 in my ApplicationWSO2,我可以在我的应用程序中调用 WSO2 的代理 URL 是什么
【发布时间】:2015-07-28 12:43:19
【问题描述】:

我发布的应用

https://localhost:9443/publisher/info?Name=weatherapi&version=1.0.0&provider=admin

主机 - 本地主机 端口 - 9443

注意:- 我使用的是独立的 WSO2 API 管理器

我订阅了 Weather API 应用并生成了消费者密钥、消费者秘密和访问令牌。

沙盒网址: 当我发出请求时,使用 WSO2 API 控制台

curl -x get --header "Accept: application/json" --header "Authorization: bearer a3eb309dd898241469e4b058a1501520" "Https://100.68.70.149:8243/weatherapi/1.0.0/?Q=London"

我得到了正确的回应。

我很困惑,在我的应用程序中指向哪个 url 以利用已部署应用程序 (weather-api) 的功能。

【问题讨论】:

  • 您的问题不清楚。请详细说明!
  • 使用驼峰式,不要全部大写

标签: api wso2 wso2-am


【解决方案1】:

9443 端口是用于调用管理服务等的 servlet 端口。 当涉及到 API 调用时,将使用默认的 8280(http) 和 8243(https) 端口。所以API调用需要使用8280

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-09-08
    • 1970-01-01
    • 2016-10-14
    • 2019-05-25
    • 2019-07-04
    • 1970-01-01
    • 1970-01-01
    • 2010-12-29
    相关资源
    最近更新 更多