Details
-
Task
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
1
Description
On this page the screenshotted example is now wrong. Basically the way to create external library functions was changed, I am not sure if this needs to be updated in other places besides this one but this is where I noticed it, the correct way to create functions now is as follows. I'd imagine the creating library documentation will need an overhaul if it hasn't been changed already
curl -X POST http://172.23.123.66:8093/evaluator/v1/libraries/math -u Administrator:password -H 'content-type: application/json' -d 'function adder(a, b)
{ return a + b; }function multiplier(a, b)
{ return a * b; }'
The endpoint and syntax have both changed
Abhishek Jindal can provide more information if needed