We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return 404 when service_name does not exist in catalogue query /v1/catalog/service/:service_ name
service_name
/v1/catalog/service/:service_ name
As of today, consul returns 200 whether the service exists or not — returning an empty result set, [], if the service isn't present
200
[]
I want to handle the presence or absence of a service differently, and using the HTTP status code would be easier than matching on an empty result set
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Description
Return 404 when
service_name
does not exist in catalogue query/v1/catalog/service/:service_ name
As of today, consul returns
200
whether the service exists or not — returning an empty result set,[]
, if the service isn't presentUse Case(s)
I want to handle the presence or absence of a service differently, and using the HTTP status code would be easier than matching on an empty result set
The text was updated successfully, but these errors were encountered: