I have tried to access GitHub Enterprise API with a URL like showed below, based on examples from some websites, but the response was 404 error.
URL of GitHub Enterprise API is different from github.com’s one.
github’s API URL is like:
and GitHub Enterprise API URL is like:
Fix the URL and got response successfully.