Running this curl command:
curl -u user:pass -X POST -H "Content-Type: application/json" https://localhost:7990/rest/api/1.0/projects/fw/repos
fails with:
bash: -X: command not found
$ curl: no URL specified!
This command worked before, so I have no idea what is wrong.