|
想根据product_key和mac查询设备,获取did,发送数据包如下:
GET /app/devices?product_key=7fbb80daadd444a3a2c193e5ce31f2b9&mac=F0DEF1B61D3E HTTP/1.1
Host: api.gizwits.com
Connection: keep-alive
Accept: */*
X-Gizwits-Application-Id: c99304b8eeea4f52b9ec7b88a3999c86
Content-Type: application/json
平台回应:
HTTP/1.1 404 NOT FOUND
Server: nginx/1.0.15
Date: Tue, 05 May 2015 04:13:37 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept, Host, Cookie
Allow: GET, HEAD, OPTIONS
Set-Cookie: __org=; Domain=.gizwits.com; Path=/
52
{"error_message": "device not found!", "error_code": 9014, "detail_message": null}
0
请问问题在哪里?
|
|