Example for evaluate via rest api

I am trying to access the check-order-dmn example table via rest.

I am using POST with body

{
  "variables" : {
    "status" : { "value" : "silver", "type" : "String" },
    "sum" : { "value" : 900, "type" : "Integer" }
  }
}

but get an 415 error.

Could someone give me a working minmal example for evaluationg dmn via rest? thanks!

Hi Jan,

415 means unsupported media type. Is your Content-Type set to application/json. Besides that we are talking about https://docs.camunda.org/manual/7.4/reference/rest/decision-definition/post-evaluate/?

Cheers,
Sebastian

Thanks, I was setting an Accept-Header for the json response but forgot to do this for the request as well.