mitchell852 edited a comment on issue #4068: Admin can assign User to a 
Federation with wrong PARAMETER
URL: https://github.com/apache/trafficcontrol/issues/4068#issuecomment-549882937
 
 
   > POST Request: 
`https://{{TO_BASE_URL}}/api/{{api_version}}/federations/{{federationsID}}/users.
 `
   > With wrong json payload parameter like "userIdssss"
   > 
   > ```json
   > {
   >         "userIdssss": [2], <<-- this is ignored. should be userIds
   >         "replaces": true <<-- this is ignored. should be replace
   > }
   > ```
   
   Does seem like a bug however because something must be required, so why 
would a 200 be returned from:
   
   ```
   {  }
   ```
   Why not just make `userIds` required? and i'm not sure about `replace`.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to