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/09/28 16:34:23 UTC

[GitHub] moltzaum opened a new issue #2889: TO Golang API: Routing bugs

moltzaum opened a new issue #2889: TO Golang API: Routing bugs
URL: https://github.com/apache/trafficcontrol/issues/2889
 
 
   There seem to be two bugs:
   1) no reverse proxy back to perl
   2) instead of a 404, getting a 401 instead
   
   I am on the master branch.
   
   `curl -XPOST --cookie $mc -Lvsk 'https://localhost:6443/api/1.1/users' -d @user.json | jq`
   ```
   {
     "alerts": [
       {
         "level": "error",
         "text": "Unauthorized, please log in."
       }
     ]
   }
   ```
   
   Curling an invalid endpoint such as /api/1.3/blah also returns a 401 when it should return a 404.
   
   

----------------------------------------------------------------
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