miot-spec-doc icon indicating copy to clipboard operation
miot-spec-doc copied to clipboard

第三方云接入,设备变化时,需要第三方云主动发出推送给MIOT,请求接口失败

Open androidkop opened this issue 6 years ago • 2 comments

文档中说,请求这个地址 http://api.home.mi.com/api/notify 但一直timeout,请问:

  1. 是https还是http
  2. 请求需不需要带access_token,如果需要,access_token哪里获得;如果不需要,小米后台如何认证第三方云请求的合法性

androidkop avatar Jul 05 '18 11:07 androidkop

  1. 第三方推送事件给miot,不需要携带access_token。miot靠subscriptionId来鉴定第三方请求的合法性。

jxfengzi avatar Aug 01 '18 01:08 jxfengzi

  1. 是https

jxfengzi avatar Aug 01 '18 01:08 jxfengzi