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

REST API content response empty after first attempt

James_Glen May 19, 2017

When we request something through the Confluence RESTful API (flybejira.atlassian.net/wiki/rest/api/), the first time, any type of request comes back with the correct content and 200 HTTP code, but any other subsequent request comes back as HTTP 200 but the body comes back empty.

After a certain time, If we request again it comes back with the body content. Does anyone know why this is and can it be fixed?

1 answer

0 votes
navalarya June 18, 2019

I have same issue. After first post call the page is getting created but no content is seen on page.

This is page data.

let pageData = { type: "page", title: title, ancestors: [{ id: 343 }], space: { key: "test", body: { storage: { value: "<p>This is a new page. this is not working yet.</p>", representation: "storage" } } } };

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events