Consider changing REST endpoints with body parameters to POST
Hello,
while exploring the REST API endpoints in Webcentral we discovered a shortcoming:
There are two endpoints:
* /v1/service-desk/requests/getAllBy
* /v1/data/getAllBy
that use GET as request method but still rely on request body parameters to retrieve information from the client request.
While the standard does not/does no longer strictly forbid GET requests with body parameters (see this discussion: https://stackoverflow.com/questions/978061/http-get-with-request-body) it is still considered bad practice and can cause caching problems. Even more problematic is that lots of clients don't support it which means they are not able to communicate with Webcentral.
In order to remain backwards compatible I would suggest to introduce new endpoints:
* /v2/service-desk/requests/getAllBy
* /v2/data/getAllBy
that use POST to better follow industry best practices and to support a wider range of clients.
Regards
