I am trying to get a file from Git repository. I am following the examples in this link: https://docs.gitlab.com/ee/api/repository_files.html#get-file-from-repository
However, the above link is for GitLab, and I need to do this for a file on GitHub.
So using Postman and my personal access token, I am invoking the following API link: "https://github.com/xxxxxx/blob/master/abc-def/loginservicedapr-hpa.yaml?ref=master"
But I am getting a big html file as response, my actual file content is embedded in the html body. I have also tried invoking the following url: "https://github.com/xxxxxx/blob/master/abc-def/loginservicedapr-hpa.yaml/raw?ref=master"
But it is giving the same response. Please help.