Curling raw file fails

if I interpret you correctly I need curl -L --header "PRIVATE-TOKEN: UhGRPnvnEryPc499SQNZ" https://gitlab.com/api/v4/projects/capital-hero-deployment/scripts/raw/master/install but that fails with a 404

can you provide me with the exact command I should execute? the url I use with the browser to pull what I need is: https://gitlab.com/capital-hero-deployment/scripts/raw/master/install