Can anyone please help on What kind of headers and auth details should be given to access confluence APIs ?
GET /rest/api/content
POST /rest/api/content
Hey there @Jeevan R ,
When using Confluence Server and Data Center instances, you can use the Basic authentication by passing your credentials (username and password) in the request.
Here's an example:
curl -u admin:admin http://localhost:8080/confluence/rest/api/content?limit=2
It is also possible to use Personal Access Tokens for integrating scripts and external applications.
For Confluence Cloud, use API Tokens via the Admin Hub.
Hope this helps! =]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.