You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/10/13 10:35:28 UTC
[GitHub] [trafficcontrol] dmohan001c opened a new issue #6275: GET api/4.0/federation_resolvers with Query Param invalid Page and Offset Returns Bad Request
dmohan001c opened a new issue #6275:
URL: https://github.com/apache/trafficcontrol/issues/6275
## I'm submitting a
- Bug Report
## This Bug Report affects these Traffic Control components:
- Traffic Ops
## Current behavior:
When you make a GET request to the `/federation_resolvers` endpoint, with query param `Invalid` Offset and Page returns Bad Request with status code 400.
## Expected behavior:
Request with an invalid query param should return valid error message.
## Minimal reproduction of the problem with instructions:
GET: https://localhost/api/4.0/federation_resolvers?limit=-2
Respone:
```{
"alerts": [
{
"text": "Bad Request",
"level": "error"
}
]
}
```
--
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: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org