1
|
???ڣ?2016-126
|
2
|
auhter??pgx
|
3
|
|
4
|
RestFul??ʽ??????IPΪ183.230.40.33???˿?80??
|
5
|
|
6
|
EDP??ʽ??????IPΪ183.230.40.39???˿?876
|
7
|
|
8
|
һ??ʹ??RestFul??ʽ?????????в???
|
9
|
|
10
|
1??post?ϴ???
|
11
|
|
12
|
POST /devices/4093233/datapoints?type=3 HTTP/1.1
|
13
|
api-key:cEhPNaYHewEuIOw2XOYJ30SoLkU=
|
14
|
Host:api.heclouds.com
|
15
|
Connection:close
|
16
|
Content-Length:23
|
17
|
|
18
|
{"shidu":20,"wendu":18}
|
19
|
|
20
|
2????Ӧ??
|
21
|
|
22
|
HTTP/1.1 200 OK
|
23
|
Date: Tue, 06 Dec 2016 07:20:03 GMT
|
24
|
Content-Type: application/json
|
25
|
Content-Length: 26
|
26
|
Connection: close
|
27
|
Server: Apache-Coyote/1.1
|
28
|
Pragma: no-cache
|
29
|
|
30
|
{"errno":0,"error":"succ"}
|