Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:IoT
-
HD-Enabler:IDAS
Description
Created question in FIWARE Q/A platform on 25-05-2017 at 18:05
Please, ANSWER this question AT https://stackoverflow.com/questions/44185798/fiware-and-idas-issue-with-sendobsevations-py
Question:
Fiware and IDAS: Issue with SendObsevations.py
Description:
I am very new with IDAS y Fiware. I am working with the Figway (https://github.com/telefonicaid/fiware-figway) and I have a problem when I tried to send observations with this command:
python SendObservation.py sensor001x 't|23'
This is the response:
- Asking to http://130.206.80.43:7896/iot/d?k=4jggokgpepnvsb2uv4s40d59ov&i=sensor001x
- Headers: {'Fiware-Service': 'OpenIoT', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
- Sending PAYLOAD:
t|23
...
- Status Code: 400
- Response: {"name":"UNSUPPORTED_TYPE","message":"The request content didn't have the expected type [text/plain ]"}
Could you help me with that? Where I am wrong? I working with a RaspberryPi.
Thanks a lot.
2017-05-25 21:05|CREATED monitor | # answers= 0, accepted answer= False