Add ability to distinguish POST requests by body.

We use one endpoint for all requests and distinguish them by a post parameter.