I am writing a script to, when run, go to a confluence link and download the content of that page. I am struggling with how to format the calling/use of the PAT in my code to gain access to confluence. Can you help me format correctly?
The docs for the REST API can be found here:
https://developer.atlassian.com/cloud/confluence/rest/v2/intro/#auth
There are examples of how to use the API in different programming languages.
For setting up authentication:
https://developer.atlassian.com/cloud/confluence/basic-auth-for-rest-apis/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.