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

Has anyone used Microsoft Flow HTTP connector to call Confluence REST APIs?

I have a MS Flow setup to detect changes in Azure Dev Ops.  When triggered I want to copy the content from the description of the work item and create a new page in Confluence containing the same content.  

I am using the HTTP connector and passing the most simple JSON to demonstrate the idea.


{ "Content-Type": "application/json", "Accept": "application/json"}


{ "type": "page", "title": "New Page Test6", "space": { "key": "TS" }, "body": { "storage": { "value": "<p>This is <br/> a new page</p>", "representation": "storage" } }}


When the flow is triggered I get a success code (i.e. Status = 200) even though Confluence did not actually create the page.

When I run the exact same JSON structure as CURL or through our Confluence API plug (../restbrowser#/resource/api-content/POST) it works just fine.


Looking for some guidance on what could possibly be the difference between the two approaches.


1 answer

0 votes
Chii Atlassian Team Aug 20, 2019

Can you find and put here the full request being sent by the Microsoft Flow Http Connector (e.g., include all the headers, and the method and body etc)? There must be something different between what is being sent by CURL and the Flow Http Connector.

Also, how is the authentication done? The REST api browser in the administration uses the cookies in the current user's browser. I expect you will need to use BASIC auth instead when making the REST api call from Microsoft Flow Http Connector.

Suggest an answer

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

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

327 views 9 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