Forums

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

Rest API for confluence Login Page

PASUPULA REDDY
February 5, 2020

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 Champion
February 5, 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

PASUPULA REDDY
February 5, 2020

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 Champion
February 7, 2020

Can you please post the REST call + JSON data?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events