Example Apache NiFi to CDSW
curl -H "Content-Type: application/json" -X POST http://cdsw-hdp-3.place.com/api/altus-ds-1/models/call-model -d '{"accessKey":"mazpusdfa9dfs0d8f9sadf9s8fd09sa09fda0sd8f09a8sdf","request":{"sentence":"This is great"}}'
{ "sentence": "This is great" }
{ "result": "positive" }
cdsw-build.sh
sentiment.py
sentiment
Python 3