getting AUTHENTICATED_FAILED on curl

Kween Baker February 11, 2019

getting AUTHENTICATED_FAILED on curl as follows:

curl -u user:password -X GET "https://confluence.example.com/rest/api/content/" | python -mjson.tool

2 answers

0 votes
Marty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 11, 2019

Hi Kween,

keep in mind that the password for the REST API is different to the password you would use to login to your instance via the browser.

https://developer.atlassian.com/cloud/confluence/basic-auth-for-rest-apis/ 

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2019

It looks like you've given it an invalid username/password combination.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events