use private-toke to approve merge request then return 401
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
When I use a private-token to approve a merge request always return 401. As following:
POST https://xxx.com/api/v4/projects/project_id/merge_requests/meger_request_id/approve
- headers contained
PRIVATE-TOKEN
{
"message": "401 Unauthorized"
}
Edited by 🤖 GitLab Bot 🤖