Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

getting AUTHENTICATED_FAILED on curl

Kween Baker
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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