ocket8888 opened a new issue, #6942:
URL: https://github.com/apache/trafficcontrol/issues/6942
## This Bug Report affects these Traffic Control components:
- Traffic Ops
## Current behavior:
Sending an invalid request body in a POST request to `/profileparameters`
(in all API versions) yields a `500 Internal Server Error` response.
## Expected behavior:
Invalid requests should yield `400 Bad Request` responses with at least one
error-level alert describing why the input was invalid.
## Steps to reproduce:
1. `topost -k profileparameters` (no request body is necessary to reproduce,
but also syntactically invalid bodies e.g. `[`, `{` will cause it, and so will
any valid JSON that isn't an object or array e.g. `"string"`, `null`).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]