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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Uploading an attachment to Confluence Data Center page via REST API not working per instructions

The goal is to complete the steps in this article ( to upload an Excel file via REST API to Confluence 7.13.5 Data Center (currently on an evaluation license at the moment) and display it on a particular Confluence Page. I’m running into a challenge with this first part of these instructions to just upload the file to the Confluence page. Using the script from the first part of those instructions in Postman to perform the file upload and replacing the ID/Password, file path, and URL with the corresponding info from my environment I get a ‘200 OK’ response with a message starting with “<head><title> Log In – Confluence</title>” and then 450 more lines of response code but the result is the file is not attaching to the Confluence page per these instructions.



  1. I’ve also checked the Confluence REST API documentation at this link ( to ensure I was using the correct curl command syntax for ‘Upload an Attachment’ which it shows I am.
  2. I have attempted this with both the ID/Password login as show in the links above and also changing the authentication piece to Basic Authorization with an API token encoded per these directions but still getting same result:
  3. I have tried this with both the HTTP request with the localhost address on the server itself and the HTTPS version as well but still same result.
  4. I attempted a GET REST API and get a similar response with 467 lines of response code.
  5. I have had previous success in testing REST APIs from Postman into Jira SM to create a ticket so attempting to see what I may be missing.
  6. For good measure, I’ve gone into the Confluence Administration / General Configuration / Further Configuration and ensured the ‘Remote API (XML-RPC & SOAP)’ box is checked.
  7. I googled and searched on the Atlassian Community forums but not finding what might be causing this.

Thanks for any and all help.



Log in or Sign up to comment

Atlassian Community Events