Curl command on windows not passing user:pass correctly
问题 I'm using CURL to execute some API calls against a bitbucket server. The command is like this: curl https://bitbucket.myserver.com/rest/api/1.0/projects/PRJ/repos/repo-slug/tags \ -u 'user:pass' \ -X POST \ -H 'Content-type: application/json' \ -d '{"name" : "test-tag", "message": "Test tag from curl", "startPoint": "master" }' This is expected to create a tag on the master branch in the repo. This however fails complaining of incorrect username/password. I then copy/paste the command into