Hello,
I am using the great Jayrock framework to build a JSON RPC service so that my JavaScript clients are able to access methods on my server side. The clients call the server methods with the HTTP POST method. For an advanced logging and debugging, it would be a great thing if it was possible to record the raw POST requests which the clients send to the server.
Is there any possibility to get the POST data? It is clear that I will be able to examine the request objects as .NET objects that arrive on the server side method. But that is not what I want to do. An example of what I
want to trace is this request:
{"id":2,"method":"calculateRoute","params":[[{"x":965226.448788825,"y":
6458373.23715108},{"x":151043.8533661,"y":6916434.44749233}]]}
It is necessary that all the JSON parameters are beeing accessible. Does anybody know how to do that? I think i ...
Go to the complete details ...