I'm doing some simple experimenting with JIRA's REST API, and all I can seem to get is 404 errors. I'm using Basic Authentication. If I purposely corrupt the username or password, I get "401 - Basic Authentication Failure," so this suggests to me the URL is correct, the API exists and is ready to accept requests from authorized users like me. I've tried simple stuff like
curl -D- -u myname:mypassword -X GET -H "Content-Type: application/json" https://confluence.mycompany.net/rest/api/latest/myself
curl -D- -u myname:mypassword -X GET -H "Content-Type: application/json" https://confluence.mycompany.net/rest/api/latest/user?username=username
and other such things, and get nothing but a 404.
Any ideas about what I might be doing wrong?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG