right now I'm sending json requests to my API, and I want to be able to get the POST data send in request, with $request->getPost(). So I could plug any content type, json, etc..
I tried to override the request service with a custom one (JSONRequest) but I don't know when to override it, it I do it beforeExecuteRoute it does not work properly. Any thoughts on how to accomplish this?