cloud-platform-iot-starterkit
cloud-platform-iot-starterkit copied to clipboard
send_data.sh is invalid
Hi,
The curl example for sending data for a sensor is invalid;
- the alternate ids are are sent as numeric literals not strings
- the semantics for the attribute "measures" is not clear (the values passed are non-integer).
Can you confirm this example works as intended, or point to documentation that might help?
The send_data.sh I am referring to is here:
https://github.com/SAP/iot-starterkit/blob/master/cf/samples/curl-samples/send-measure-rest/step_08_send_data.sh
Hello Mark,
thanks for reporting. We are currently re-checking the complete procedure (curl/REST sample) [1] with different curl versions on MAC and PC.
Alternatively, you may try the Java sample or follow the tutorial procedure described in the docu [2]
Sorry for the inconvenience, Anton
[1] https://github.com/SAP/iot-starterkit/blob/master/cf/samples/curl-samples/send-measure-rest [2] https://help.sap.com/viewer/d5f07bf9e1d646959a006f98d4cce321/Cloud/en-US