Currently for both API endpoints (/properties/api and /roleBasedVote/api) a request that does not have all of the required parameters returns {Invalid request}.
There are two problems with this:
- The response is not informative enough. The response should specify which parameters were missing.
- For property handler, it should be permitted to have a missing
comparison if the properties is set to p and missing pivot if properties is set to c.
Currently for both API endpoints (
/properties/apiand/roleBasedVote/api) a request that does not have all of the required parameters returns{Invalid request}.There are two problems with this:
comparisonif thepropertiesis set topand missingpivotifpropertiesis set toc.