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/12/03 17:33:15 UTC

[GitHub] ocket8888 opened a new issue #3079: POST to /api/1.x/federations does not properly request payload

ocket8888 opened a new issue #3079: POST to /api/1.x/federations does not properly request payload
URL: https://github.com/apache/trafficcontrol/issues/3079
 
 
   You can pass something like `{"foo":"bar"}` to that endpoint and it'll say "successfully created federation resolvers" which is obviously impossible.
   The endpoint should return a `400 Bad Request` when the form of the input is not valid, and at least have a message like "nothing to do" reported back as a warning in the case that the input's _form_ is valid, but it contains no data to process, rather than always returning a success message regardless of whether anything was done.

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