Created
June 26, 2022 19:24
-
-
Save mikeananev/423d5a9f0b4a6d10a04834b0a1a3316b to your computer and use it in GitHub Desktop.
Jira basic auth with curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -v -u username https://jira.mycompany.com/browse/PMR-50 | |
| curl -v -u username:password https://jira.mycompany.com/browse/PMR-50 | |
| echo -n username:password | base64 | |
| dXNlcm5hbWU6cGFzc3dvcmQ= | |
| curl -D- -X GET -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ==" -H "Content-Type: application/json" "https://jira.mycompany.com/browse/PMR-50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment