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 2018/01/31 19:49:54 UTC
[GitHub] mitchell852 opened a new issue #1829: GET /api/1.3/cdns returns wrong response code and response format when unauthorized or forbidden
mitchell852 opened a new issue #1829: GET /api/1.3/cdns returns wrong response code and response format when unauthorized or forbidden
URL: https://github.com/apache/incubator-trafficcontrol/issues/1829
If you try to access GET /api/1.3/cdns without being logged in (i.e. no valid cookie) the response should look like this:
401 Unauthorized
{
alerts: [
{
level: "error",
text: "Unauthorized, please log in."
}
]
}
If you are authenticated (your login cookie is valid) but your user doesn't have the proper priv level, the response should look like this:
403 Forbidden
{
alerts: [
{
level: "error",
text: "Forbidden."
}
]
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services