I want an angular application to send any JSON data to a .Net Core WebAPI controller.
I don't want to have a pre-defined model accepting the JSON in the controller function.
I don't know how to accept it. Kindly help. In Angular, the data is JSON.stringified and POSTED
Here is my angular TS code that sends the JSON:
Controller that can accept any form of JSON:


[FromBody] string body. Otherwise you need to useStreamReaderbut I am not sure is it ethic or not. May be you can write different methods for them.