I am using a AzureDevopsGit api call to check if a branch exists inside a repository. It throws a 200 status code irrespective.
For eg: If a branch exists (master): Response code : 200 and expected json response.
If a branch does not exist (BLAH): response code 200 and the JSON response as follows
Is it not wrong to have 200 status code on a branch that does not exist?