I have gone through some documents like: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_rest_methods.htm .
It seems to me that in order to write a post API interface I need to understand what the input string is. But my scenario is the input json string can be dynamic.
Is there a way for me to take the whole post string as the parameter and handle that json string dynamically in my function? Something like:
@HttpPost
global static void doPost(String message)
{
//...
Not quite sure whether this is possible though.