api.mybluemix 和 api.ng.bluemix 有什么区别?
What is the difference between api.mybluemix vs api.ng.bluemix?
两者有什么区别?
我正在使用 cf api https://api.ng.bluemix.net
。
IBM 网站上的另一个教程使用 cf api https://api.mybluemix.net
。
这似乎不起作用。它是否已过时且无法正常工作,还是我使用错误?在 Bluemix 网站上,它们仅显示两个 CF API 端点。
- api.ng.bluemix.net
- api.eu-gb.bluemix.net
https://www.ng.bluemix.net/docs/#overview/overview.html
干杯
我不确定您为什么会收到 SSL 证书错误。
您能否通过直接提供端点来尝试看看 cf login 是否适合您? http://docs.cloudfoundry.org/devguide/installcf/whats-new-v6.html
Example =>
>>cf login -a api.ng.bluemix.net -u xxx@yy.zz -o xxx@yy.zz -s dev
API endpoint: api.ng.bluemix.net
Password>
Authenticating...
OK
Targeted org xxx@yy.zz
Targeted space dev
API endpoint: https://api.ng.bluemix.net (API version: 2.14.0)
User: xxx@yy.zz
Org: xxx@yy.zz
Space: dev
您应该使用 api.ng.bluemix.net or api.eu-gb.bluemix.net,因为它们指向 Bluemix 中当前可用的两个区域的两个地址。创建新区域后,您将使用该新区域的 api 端点登录。
因此,如果您在 eu-gb(英国)地区拥有应用程序和服务,那么您将登录 api.eu-gb.bluemix.net. If you are using us-south region then you would log into api.ng.bluemix.net
mybluemix.net
地址和 bluemix.net
地址之间的区别在于 bluemix.net
地址是为官方 IBM Bluemix 提供的应用程序保留的,例如 console.ng.bluemix.net, api.ng.bluemix.net or status.ng.bluemix.net。 mybluemix.net
地址是 Bluemix 上 运行 的用户应用程序,这些应用程序可能由 IBM 开发,也可能不是。
两者有什么区别?
我正在使用 cf api https://api.ng.bluemix.net
。
IBM 网站上的另一个教程使用 cf api https://api.mybluemix.net
。
这似乎不起作用。它是否已过时且无法正常工作,还是我使用错误?在 Bluemix 网站上,它们仅显示两个 CF API 端点。
- api.ng.bluemix.net
- api.eu-gb.bluemix.net
https://www.ng.bluemix.net/docs/#overview/overview.html
干杯
我不确定您为什么会收到 SSL 证书错误。
您能否通过直接提供端点来尝试看看 cf login 是否适合您? http://docs.cloudfoundry.org/devguide/installcf/whats-new-v6.html
Example =>
>>cf login -a api.ng.bluemix.net -u xxx@yy.zz -o xxx@yy.zz -s dev
API endpoint: api.ng.bluemix.net
Password>
Authenticating...
OK
Targeted org xxx@yy.zz
Targeted space dev
API endpoint: https://api.ng.bluemix.net (API version: 2.14.0)
User: xxx@yy.zz
Org: xxx@yy.zz
Space: dev
您应该使用 api.ng.bluemix.net or api.eu-gb.bluemix.net,因为它们指向 Bluemix 中当前可用的两个区域的两个地址。创建新区域后,您将使用该新区域的 api 端点登录。
因此,如果您在 eu-gb(英国)地区拥有应用程序和服务,那么您将登录 api.eu-gb.bluemix.net. If you are using us-south region then you would log into api.ng.bluemix.net
mybluemix.net
地址和 bluemix.net
地址之间的区别在于 bluemix.net
地址是为官方 IBM Bluemix 提供的应用程序保留的,例如 console.ng.bluemix.net, api.ng.bluemix.net or status.ng.bluemix.net。 mybluemix.net
地址是 Bluemix 上 运行 的用户应用程序,这些应用程序可能由 IBM 开发,也可能不是。