input-data option should read data-readings from file not, the whole payload of the data-readings request.
j-fuentes opened this issue · comments
Jose Fuentes Castillo commented
At the moment, when input-data
is specified, the agent read the file and blindly sends its content to the server.
Instead of doing that, it should craft an actual DataReadingPost
object. The content of the file is the source of DataReadings
, not the source of all the payload.
Jose Fuentes Castillo commented
Closing this as the issue is in fact solved. The program is already doing what we expected it todo: just reading and exporting DataReadings
.