ocket8888 opened a new issue #3095: /api/1.x/parameters/profile/{{name}} gives 
incorrect response for non-existent profiles
URL: https://github.com/apache/trafficcontrol/issues/3095
 
 
   The endpoint at `/api/1.x/parameters/profile/{{name}}` will return a `200 
OK` success and empty `"response"` array for profiles that don't exist. The 
proper response to a request for a non-existent resource is a `404 NOT FOUND`. 
Besides this, an empty response array from this endpoint normally indicates 
that a profile has no parameters, and so tools/admins may subsequently attempt 
to assign parameters to said profile, which will confusingly and inevitably 
fail.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to