C++ Agent toolkit - Pre-built binaries, visit: https://github.com/mtconnect/cppagent/releases Docker images available at https://hub.docker.com/repositories/mtconnect
This will need to be added as a feature. We do not have a json entity parser at the moment. I can add one, but it will be a lot of work with a full test suite.
Unless Im doing it wrong, It looks like the agent is expecting xml for assets. I tried sending the following with a curl command:
curl -X POST "http://192.168.1.1:5000/asset/load-cnc-1?device=mxi_m001&type=TaskArchetype" -H "Content-Type: application/json" -d @load-cnc.json
but got:
We had eliminated xml in favor of json response docs from the agent. Can we add json parser capability to cppagent's assets?