Hello,
a function get a parameter string as [FromBody].
It contains a JSON for processing in my function. The JSON must be URL encoded for this to work.
Alternatively you can set the parameter type as a regular Delphi JSON class, like TJSONValue or TJSONObject. Or use the JSON types from BCL, like TJElement or TJObject.
This way, the client doesn't need to encode the JSON in a string, it can send the pure JSON, like;