GITLAB instance ( 13.6.3-ee )
Im writing a python script to monitor GITLAB through health check provided.
i use the requests python module to query API and get json response but it return the home page like i am not logged.
Issuing this command https://localhost/readiness?all=1 from gitlab host works well.
this line is present on my gitlab.rb "gitlab_rails[‘monitoring_whitelist’] = [‘127.0.0.1’]
i have also tried to create a Personnal Access Token and put it in the request https://localhost/readiness?all=1?token=AGEFGDGDGDGDG but without success.
Anyone has an idea to solve my problem and get correct json response ?
Thanks for you help !