Open madhawap opened 7 years ago
I got the same problem using arduino but the http respone from arduino is different of using curl.
REQUEST:
POST /endpoints/arduino_receiver?deviceId=1ib3q6v56fewo HTTP/1.1
Host: 192.168.1.7:9763
Content-Type: application/json
Content-Length: 104
{"event":{"metaData":{"owner":"admin","deviceId":"1ib3q6v56fewo"}, "payloadData":{"temperature":30.89}}}
RESPONSE:
HTTP/1.1 302 Found
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Set-Cookie: JSESSIONID=B42A8CBB45B73E23606CB8CA809DF06B; Path=/; Secure; HttpOnly
Location: https://192.168.1.7:9443/carbon/
Content-Type: text/html;charset=UTF-8
Content-Length: 0
Date: Sat, 01 Jul 2017 07:49:19 GMT
Server: WSO2 Carbon Server
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
The graph does not seem to be plotting the temperature data for the arduino sample.
{"event":{"metaData":
{"owner":"admin","deviceId":"1iauvrtakdl5x"},"payloadData":
{"temperature":20.22}}}
Reference: https://wso2.org/jira/browse/IOTS-225