Make the endpoint (more) compliant with the standard: support both GET and POST