Evaluate
Sends an expression for evaluation. The response contains the evaluation result.
Request
POST /v1/evaluate
Request Header Fields
Authorization — Authentication token. For more information about authentication, see Authenticating.
Request Body Fields
expression — Expression to evaluate.
defaultTable — Default table.
defaultContext — Default context.
Response Body Fields
result — Evaluation result.
Example Request
Request:
POST https://localhost:8443/rest/v1/evaluate
Example request body JSON:
{
"expression": "10+10",
"defaultTable":null,
"defaultContext":""
}
Example response body:
{
"result": 20
}
Was this page helpful?