Hi Marc,

>     declare %rest:POST("{$body}") %rest:path("/json")
>     %rest:consumes("application/json;lax=yes;format=map")
>     %rest:produces("application/json;format=map")

If I remember right, content-type parameters in rest annotations will
be ignored, because these annotations only serve as filters. Instead,
you will need to specify the content-type parameters client-side (in
your POST or PUT request).

Hope this helps,
Christian

Reply via email to