curl -i <server url>/api/repos/<name>/<repo>/builds -H "Authorization: Bearer <token>" works just fine.
curl -i -X POST <server url>/api/repos/<name>/<repo>/builds -H "Authorization: Bearer <token>" results in a 404.
Am I doing something wrong with the request?