Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Rest API for confluence Login Page

Hi Team,

we are doing performance test for confluence application through J-Meter. we hosted confluence  application on Data-Center and please provide Rest API for logging to Confluence server login page.

Confluence server version : 7.2.0

Regards,

Kulasekhar

1 answer

0 votes
Thomas Deiler Community Leader Feb 05, 2020

Dear @PASUPULA REDDY ,

there is no specific login page for the Rest API. You can use

  • Base Auth
  • OAuth

for authentication. The authentication method is used for every API call. Therefor you will find no function that is called login/logoff.

Please follow this link for more information.

So long

Thomas

Hi Thomas,

Thanks for the reply. I was getting the below error when creating the spaces in confluence using Rest API's through J-Meter.

Error Message:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Header</h2>
<hr><p>HTTP Error 400. The request has an invalid header name.</p>
</BODY></HTML>.

 

please do the needful.

 

Regards,

Kulasekhar

Thomas Deiler Community Leader Feb 07, 2020

Can you please post the REST call + JSON data?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,604 views 7 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you