curl command...
> curl --header "PRIVATE-TOKEN: my-private-token"
> "https://gitlab.com/gitlab-user-name/api/v4/projects/my-project-id/releases"
response...
You are being redirected.
I am sure it is the wrong url but not sure how to correct it...
gitlab docs example bellow..
> curl --header "PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS"
> "https://gitlab.example.com/api/v4/projects/24/releases"
gitlab doc for this...
https://docs.gitlab.com/ce/api/releases/index.html#list-releases