阅读529 返回首页    go 微信


请求结构__调用方式_API使用手册_消息服务-阿里云

服务地址

MNS 服务在多个地域部署,都分别提供了公网访问地址和阿里云私网访问地址。如表所示:

区域 公网访问地址 私网访问地址 VPC私网访问地址
华北1 http(s)://{AccountId}.mns.cn-qingdao.aliyuncs.com https://{AccountId}.mns.cn-qingdao-internal.aliyuncs.com 暂无
华北2 http(s)://{AccountId}.mns.cn-beijing.aliyuncs.com https://{AccountId}.mns.cn-beijing-internal.aliyuncs.com https://{AccountId}.mns.cn-beijing-internal-vpc.aliyuncs.com
华东1 http(s)://{AccountId}.mns.cn-hangzhou.aliyuncs.com https://{AccountId}.mns.cn-hangzhou-internal.aliyuncs.com https://{AccountId}.mns.cn-hangzhou-internal-vpc.aliyuncs.com
华东2 http(s)://{AccountId}.mns.cn-shanghai.aliyuncs.com https://{AccountId}.mns.cn-shanghai-internal.aliyuncs.com https://{AccountId}.mns.cn-shanghai-internal-vpc.aliyuncs.com
华南1 http(s)://{AccountId}.mns.cn-shenzhen.aliyuncs.com https://{AccountId}.mns.cn-shenzhen-internal.aliyuncs.com https://{AccountId}.mns.cn-shenzhen-internal-vpc.aliyuncs.com
亚太(新加坡) http(s)://{AccountId}.mns.ap-southeast-1.aliyuncs.com https://{AccountId}.mns.ap-southeast-1-internal.aliyuncs.com https://{AccountId}.mns.ap-southeast-1-internal-vpc.aliyuncs.com
美国硅谷 http(s)://{AccountId}.mns.us-west-1.aliyuncs.com https://{AccountId}.mns.us-west-1-internal.aliyuncs.com https://{AccountId}.mns.us-west-1-internal-vpc.aliyuncs.com
亚太东北1(日本) http(s)://{AccountId}.mns.ap-northeast-1.aliyuncs.com https://{AccountId}.mns.ap-northeast-1-internal.aliyuncs.com
亚太东南2(悉尼) http(s)://{AccountId}.mns.ap-southeast-2.aliyuncs.com https://{AccountId}.mns.ap-southeast-2-internal.aliyuncs.com
欧洲中部1(法兰克福) http(s)://{AccountId}.mns.eu-central-1.aliyuncs.com https://{AccountId}.mns.eu-central-1-internal.aliyuncs.com
中东东部1(迪拜) http(s)://{AccountId}.mns.me-east-1.aliyuncs.com https://{AccountId}.mns.me-east-1-internal.aliyuncs.com

AccountID 是阿里云注册用户的帐号 ID,在阿里云官网可以查看。为了帮助保护用户的数据安全,MNS在公网提供了Https的接口,只需要把公网访问地址的https://换成https://即可。

通信协议

支持通过 HTTP 协议进行请求通信。

请求方法

使用 HTTP 的 PUT、 POST、 GET、 DELETE 等 HTTP Method 发送不同的请求,详情参考 队列接口规范主题接口规范 章节。

请求组成

向 MNS 发送 HTTP 请求完成某个 API接口操作,发送的请求需要带上正确的请求参数、请求头以及请求正文。

请求编码

请求及返回结果都使用 UTF-8 字符集进行编码。

最后更新:2016-12-11 20:58:22

  上一篇:go NotifyContentFormat__基本概念_API使用手册_消息服务-阿里云
  下一篇:go 公共参数__调用方式_API使用手册_消息服务-阿里云